LLPanelLandInfo Class Reference

#include <llpanelland.h>

Inheritance diagram for LLPanelLandInfo:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandInfo (const std::string &name)
virtual ~LLPanelLandInfo ()
void refresh ()

Static Public Member Functions

static void refreshAll ()

Protected Member Functions

virtual BOOL postBuild ()

Static Protected Member Functions

static void onClickClaim (void *)
static void onClickRelease (void *)
static void onClickDivide (void *)
static void onClickJoin (void *)
static void onClickAbout (void *)

Static Protected Attributes

static LLPanelLandSelectObserversObserver = NULL
static LLPanelLandInfosInstance = NULL

Detailed Description

Definition at line 44 of file llpanelland.h.


Constructor & Destructor Documentation

LLPanelLandInfo::LLPanelLandInfo ( const std::string &  name  ) 

Definition at line 74 of file llpanelland.cpp.

References LLViewerParcelMgr::addObserver(), gParcelMgr, sInstance, and sObserver.

LLPanelLandInfo::~LLPanelLandInfo (  )  [virtual]

Definition at line 91 of file llpanelland.cpp.

References gParcelMgr, NULL, LLViewerParcelMgr::removeObserver(), sInstance, and sObserver.


Member Function Documentation

void LLPanelLandInfo::onClickAbout ( void  )  [static, protected]

Definition at line 248 of file llpanelland.cpp.

References LLViewerParcelMgr::getParcelSelection(), gParcelMgr, LLViewerParcelMgr::selectParcelInRectangle(), and LLFloaterLand::show().

Referenced by postBuild().

void LLPanelLandInfo::onClickClaim ( void  )  [static, protected]

Definition at line 223 of file llpanelland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startBuyLand().

Referenced by postBuild().

void LLPanelLandInfo::onClickDivide ( void  )  [static, protected]

Definition at line 236 of file llpanelland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startDivideLand().

Referenced by postBuild().

void LLPanelLandInfo::onClickJoin ( void  )  [static, protected]

Definition at line 242 of file llpanelland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startJoinLand().

Referenced by postBuild().

void LLPanelLandInfo::onClickRelease ( void  )  [static, protected]

Definition at line 230 of file llpanelland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startReleaseLand().

Referenced by postBuild().

BOOL LLPanelLandInfo::postBuild (  )  [protected, virtual]

Reimplemented from LLPanel.

Definition at line 60 of file llpanelland.cpp.

References LLPanel::childSetAction(), onClickAbout(), onClickClaim(), onClickDivide(), onClickJoin(), onClickRelease(), and TRUE.

void LLPanelLandInfo::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 112 of file llpanelland.cpp.

References LLAgent::canManageEstate(), LLPanel::childSetEnabled(), LLPanel::childSetText(), LLPanel::childSetTextArg(), LLPanel::childSetVisible(), FALSE, gAgent, LLParcel::getAuthorizedBuyerID(), LLViewerParcelMgr::getDisplayInfo(), LLParcel::getForSale(), LLAgent::getID(), LLViewerRegion::getOwner(), LLParcel::getOwnerID(), LLViewerParcelMgr::getParcelSelection(), LLViewerRegion::getRegionFlags(), LLParcel::getSalePrice(), LLViewerParcelMgr::getSelectedArea(), LLViewerParcelMgr::getSelectionRegion(), GP_LAND_DIVIDE_JOIN, GP_LAND_RELEASE, gParcelMgr, LLAgent::isGodlike(), LLUUID::isNull(), LLViewerParcelMgr::isParcelOwnedByAgent(), LLParcel::isPublic(), lldebugs, llendl, llformat(), LLUUID::notNull(), LLStringBase< char >::null, PARCEL_UNIT_AREA, REGION_FLAGS_ALLOW_PARCEL_CHANGES, S32, and TRUE.

Referenced by LLFloaterTools::refresh(), and refreshAll().

void LLPanelLandInfo::refreshAll (  )  [static]

Definition at line 102 of file llpanelland.cpp.

References refresh(), and sInstance.

Referenced by LLPanelLandSelectObserver::changed().


Member Data Documentation

LLPanelLandInfo * LLPanelLandInfo::sInstance = NULL [static, protected]

Definition at line 74 of file llpanelland.h.

Referenced by LLPanelLandInfo(), refreshAll(), and ~LLPanelLandInfo().

LLPanelLandSelectObserver * LLPanelLandInfo::sObserver = NULL [static, protected]

Definition at line 73 of file llpanelland.h.

Referenced by LLPanelLandInfo(), and ~LLPanelLandInfo().


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