LLPanelLandAccess Class Reference

#include <llfloaterland.h>

Inheritance diagram for LLPanelLandAccess:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandAccess:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandAccess (LLHandle< LLParcelSelection > &parcelp)
virtual ~LLPanelLandAccess ()
void refresh ()
void refreshNames ()
virtual void draw ()
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)
static void onAccessLevelChange (LLUICtrl *ctrl, void *userdata)

Protected Attributes

LLTextBoxmLabelTitle
LLCheckBoxCtrlmCheckGroup
LLCheckBoxCtrlmCheckAccess
LLNameListCtrlmListAccess
LLButtonmBtnAddAccess
LLButtonmBtnRemoveAccess
LLCheckBoxCtrlmCheckPass
LLSpinCtrlmSpinPrice
LLSpinCtrlmSpinHours
LLCheckBoxCtrlmCheckIdentified
LLCheckBoxCtrlmCheckTransacted
LLRadioGroupmCheckStatusLevel
LLHandle< LLParcelSelection > & mParcel

Detailed Description

Definition at line 388 of file llfloaterland.h.


Constructor & Destructor Documentation

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

Definition at line 2552 of file llfloaterland.cpp.

LLPanelLandAccess::~LLPanelLandAccess (  )  [virtual]

Definition at line 2595 of file llfloaterland.cpp.


Member Function Documentation

void LLPanelLandAccess::addAvatar ( LLUUID  id  ) 

Definition at line 2789 of file llfloaterland.cpp.

References LLParcel::addToAccessList(), AL_ACCESS, gParcelMgr, mParcel, refresh(), and LLViewerParcelMgr::sendParcelAccessListUpdate().

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

Definition at line 2781 of file llfloaterland.cpp.

Referenced by onClickAdd().

void LLPanelLandAccess::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2717 of file llfloaterland.cpp.

References LLPanel::draw(), and refreshNames().

void LLPanelLandAccess::onAccessLevelChange ( LLUICtrl ctrl,
void userdata 
) [static]

Definition at line 2724 of file llfloaterland.cpp.

References NULL, and onCommitAny().

void LLPanelLandAccess::onClickAdd ( void  )  [static]

Definition at line 2774 of file llfloaterland.cpp.

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

Referenced by postBuild().

void LLPanelLandAccess::onClickRemove ( void  )  [static]

Definition at line 2803 of file llfloaterland.cpp.

References AL_ACCESS, LLScrollListItem::getUUID(), gParcelMgr, LLParcel::removeFromAccessList(), and LLViewerParcelMgr::sendParcelAccessListUpdate().

Referenced by postBuild().

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

Definition at line 2730 of file llfloaterland.cpp.

References FALSE, gParcelMgr, llfloor(), PF_USE_ACCESS_GROUP, PF_USE_ACCESS_LIST, PF_USE_PASS_LIST, S32, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setParcelFlag(), LLParcel::setPassHours(), and LLParcel::setPassPrice().

Referenced by onAccessLevelChange(), and postBuild().

BOOL LLPanelLandAccess::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2559 of file llfloaterland.cpp.

References LLPanel::childSetCommitCallback(), LLUICtrlFactory::getButtonByName(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getNameListByName(), LLUICtrlFactory::getSpinnerByName(), mBtnAddAccess, mBtnRemoveAccess, mCheckAccess, mCheckGroup, mCheckPass, mListAccess, mSpinHours, mSpinPrice, onClickAdd(), onClickRemove(), onCommitAny(), LLButton::setClickedCallback(), LLScrollListCtrl::sortByColumn(), and TRUE.

void LLPanelLandAccess::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2599 of file llfloaterland.cpp.

References ADD_SORTED, LLNameListCtrl::addNameItem(), count, LLScrollListCtrl::deleteAllItems(), end, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getParcelFlag(), LLParcel::getPassHours(), LLParcel::getPassPrice(), GP_LAND_MANAGE_ALLOWED, GP_LAND_MANAGE_PASSES, LLViewerParcelMgr::isParcelModifiableByAgent(), llformat(), LLParcel::mAccessList, MAX_STRING, mBtnAddAccess, mBtnRemoveAccess, mCheckAccess, mCheckGroup, mCheckPass, mListAccess, mParcel, mSpinHours, mSpinPrice, NULL, PARCEL_MAX_ACCESS_LIST, PF_USE_ACCESS_GROUP, PF_USE_ACCESS_LIST, PF_USE_PASS_LIST, S32, LLSpinCtrl::set(), LLCheckBoxCtrl::set(), LLSpinCtrl::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLView::setEnabled(), LLCheckBoxCtrl::setLabelArg(), and TRUE.

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

void LLPanelLandAccess::refreshNames (  ) 

Definition at line 2703 of file llfloaterland.cpp.

References DB_GROUP_NAME_BUF_SIZE, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), mCheckGroup, mParcel, and LLCheckBoxCtrl::setLabelArg().

Referenced by draw().


Member Data Documentation

LLButton* LLPanelLandAccess::mBtnAddAccess [protected]

Definition at line 415 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandAccess::mBtnRemoveAccess [protected]

Definition at line 416 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandAccess::mCheckAccess [protected]

Definition at line 413 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandAccess::mCheckGroup [protected]

Definition at line 411 of file llfloaterland.h.

Referenced by postBuild(), refresh(), and refreshNames().

LLCheckBoxCtrl* LLPanelLandAccess::mCheckIdentified [protected]

Definition at line 422 of file llfloaterland.h.

LLCheckBoxCtrl* LLPanelLandAccess::mCheckPass [protected]

Definition at line 418 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLRadioGroup* LLPanelLandAccess::mCheckStatusLevel [protected]

Definition at line 424 of file llfloaterland.h.

LLCheckBoxCtrl* LLPanelLandAccess::mCheckTransacted [protected]

Definition at line 423 of file llfloaterland.h.

LLTextBox* LLPanelLandAccess::mLabelTitle [protected]

Definition at line 409 of file llfloaterland.h.

LLNameListCtrl* LLPanelLandAccess::mListAccess [protected]

Definition at line 414 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

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

Definition at line 426 of file llfloaterland.h.

Referenced by addAvatar(), refresh(), and refreshNames().

LLSpinCtrl* LLPanelLandAccess::mSpinHours [protected]

Definition at line 420 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLSpinCtrl* LLPanelLandAccess::mSpinPrice [protected]

Definition at line 419 of file llfloaterland.h.

Referenced by postBuild(), 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