LLPanelLandBan Class Reference

#include <llfloaterland.h>

Inheritance diagram for LLPanelLandBan:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandBan:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandBan (LLHandle< LLParcelSelection > &parcelp)
virtual ~LLPanelLandBan ()
void refresh ()
void addAvatar (LLUUID id)
virtual BOOL postBuild ()

Static Public Member Functions

static void onCommitAny (LLUICtrl *ctrl, void *userdata)
static void onClickAdd (void *)
static void onClickRemove (void *)
static void callbackAvatarID (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *userdata)

Protected Attributes

LLTextBoxmLabelTitle
LLCheckBoxCtrlmCheck
LLNameListCtrlmList
LLButtonmBtnAdd
LLButtonmBtnRemove
LLCheckBoxCtrlmCheckDenyAnonymous
LLCheckBoxCtrlmCheckDenyIdentified
LLCheckBoxCtrlmCheckDenyTransacted
LLHandle< LLParcelSelection > & mParcel

Detailed Description

Definition at line 430 of file llfloaterland.h.


Constructor & Destructor Documentation

LLPanelLandBan::LLPanelLandBan ( LLHandle< LLParcelSelection > &  parcelp  ) 

Definition at line 2828 of file llfloaterland.cpp.

LLPanelLandBan::~LLPanelLandBan (  )  [virtual]

Definition at line 2867 of file llfloaterland.cpp.


Member Function Documentation

void LLPanelLandBan::addAvatar ( LLUUID  id  ) 

Definition at line 3023 of file llfloaterland.cpp.

References LLParcel::addToBanList(), AL_BAN, gParcelMgr, mParcel, refresh(), and LLViewerParcelMgr::sendParcelAccessListUpdate().

void LLPanelLandBan::callbackAvatarID ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void userdata 
) [static]

Definition at line 3015 of file llfloaterland.cpp.

Referenced by onClickAdd().

void LLPanelLandBan::onClickAdd ( void  )  [static]

Definition at line 3008 of file llfloaterland.cpp.

References LLFloater::addDependentFloater(), callbackAvatarID(), LLFloaterView::getParentFloater(), gFloaterView, and LLFloaterAvatarPicker::show().

Referenced by postBuild().

void LLPanelLandBan::onClickRemove ( void  )  [static]

Definition at line 3037 of file llfloaterland.cpp.

References AL_BAN, LLScrollListItem::getUUID(), gParcelMgr, LLParcel::removeFromBanList(), and LLViewerParcelMgr::sendParcelAccessListUpdate().

Referenced by postBuild().

void LLPanelLandBan::onCommitAny ( LLUICtrl ctrl,
void userdata 
) [static]

Definition at line 2978 of file llfloaterland.cpp.

References gParcelMgr, PF_DENY_ANONYMOUS, PF_DENY_IDENTIFIED, PF_DENY_TRANSACTED, PF_USE_BAN_LIST, LLViewerParcelMgr::sendParcelPropertiesUpdate(), and LLParcel::setParcelFlag().

Referenced by postBuild().

BOOL LLPanelLandBan::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2836 of file llfloaterland.cpp.

References LLPanel::childSetCommitCallback(), LLUICtrlFactory::getButtonByName(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getNameListByName(), mBtnAdd, mBtnRemove, mCheck, mCheckDenyAnonymous, mCheckDenyIdentified, mCheckDenyTransacted, mList, onClickAdd(), onClickRemove(), onCommitAny(), LLButton::setClickedCallback(), LLScrollListCtrl::sortByColumn(), and TRUE.

void LLPanelLandBan::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2870 of file llfloaterland.cpp.

References ADD_SORTED, LLNameListCtrl::addNameItem(), count, LLScrollListCtrl::deleteAllItems(), end, FALSE, LLParcel::getParcelFlag(), LLParcel::getRegionDenyAnonymousOverride(), LLParcel::getRegionDenyIdentifiedOverride(), LLParcel::getRegionDenyTransactedOverride(), GP_LAND_MANAGE_BANNED, LLViewerParcelMgr::isParcelModifiableByAgent(), llformat(), LLParcel::mBanList, mBtnAdd, mBtnRemove, mCheck, mCheckDenyAnonymous, mCheckDenyIdentified, mCheckDenyTransacted, mList, mParcel, NULL, PARCEL_MAX_ACCESS_LIST, PF_DENY_ANONYMOUS, PF_DENY_IDENTIFIED, PF_DENY_TRANSACTED, PF_USE_BAN_LIST, S32, LLCheckBoxCtrl::set(), LLView::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLCheckBoxCtrl::setLabelArg(), and TRUE.

Referenced by addAvatar(), and LLFloaterLand::refresh().


Member Data Documentation

LLButton* LLPanelLandBan::mBtnAdd [protected]

Definition at line 452 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandBan::mBtnRemove [protected]

Definition at line 453 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandBan::mCheck [protected]

Definition at line 450 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandBan::mCheckDenyAnonymous [protected]

Definition at line 454 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandBan::mCheckDenyIdentified [protected]

Definition at line 455 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandBan::mCheckDenyTransacted [protected]

Definition at line 456 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandBan::mLabelTitle [protected]

Definition at line 448 of file llfloaterland.h.

LLNameListCtrl* LLPanelLandBan::mList [protected]

Definition at line 451 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLHandle<LLParcelSelection>& LLPanelLandBan::mParcel [protected]

Definition at line 458 of file llfloaterland.h.

Referenced by addAvatar(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:37 2010 for Second Life Viewer by  doxygen 1.4.7