LLPanelGroupTab Class Reference

#include <llpanelgroup.h>

Inheritance diagram for LLPanelGroupTab:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupTab:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGroupTab (const std::string &name, const LLUUID &group_id)
virtual ~LLPanelGroupTab ()
virtual void activate ()
virtual void deactivate ()
virtual bool needsApply (LLString &mesg)
virtual BOOL hasModal ()
virtual bool apply (LLString &mesg)
virtual void cancel ()
virtual void update (LLGroupChange gc)
virtual LLString getHelpText () const
void handleClickHelp ()
virtual BOOL postBuild ()
virtual BOOL isVisibleByAgent (LLAgent *agentp)
void setAllowEdit (BOOL v)
void addObserver (LLPanelGroupTabObserver *obs)
void removeObserver (LLPanelGroupTabObserver *obs)
void notifyObservers ()

Static Public Member Functions

static voidcreateTab (void *data)
static void onClickHelp (void *data)

Protected Types

typedef std::set< LLPanelGroupTabObserver * > observer_list_t

Protected Attributes

LLUUID mGroupID
LLTabContainerCommonmTabContainer
LLString mHelpText
BOOL mAllowEdit
BOOL mHasModal
observer_list_t mObservers

Detailed Description

Definition at line 133 of file llpanelgroup.h.


Member Typedef Documentation

typedef std::set<LLPanelGroupTabObserver*> LLPanelGroupTab::observer_list_t [protected]

Definition at line 192 of file llpanelgroup.h.


Constructor & Destructor Documentation

LLPanelGroupTab::LLPanelGroupTab ( const std::string &  name,
const LLUUID group_id 
) [inline]

Definition at line 136 of file llpanelgroup.h.

Referenced by createTab().

LLPanelGroupTab::~LLPanelGroupTab (  )  [virtual]

Definition at line 56 of file llpanelgroup.cpp.

References mObservers.


Member Function Documentation

virtual void LLPanelGroupTab::activate (  )  [inline, virtual]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupNotices, LLPanelGroupRoles, LLPanelGroupSubTab, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, LLPanelGroupActionsSubTab, and LLPanelGroupVoting.

Definition at line 144 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::activate(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), LLPanelGroup::refreshData(), LLPanelGroupRoles::transitionToTab(), and LLPanelGroup::transitionToTab().

void LLPanelGroupTab::addObserver ( LLPanelGroupTabObserver obs  ) 

Definition at line 89 of file llpanelgroup.cpp.

References mObservers.

Referenced by LLPanelGroup::postBuild().

virtual bool LLPanelGroupTab::apply ( LLString mesg  )  [inline, virtual]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupRoles, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, LLPanelGroupActionsSubTab, and LLPanelGroupVoting.

Definition at line 158 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::apply(), and LLPanelGroup::apply().

virtual void LLPanelGroupTab::cancel (  )  [inline, virtual]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupRoles, LLPanelGroupMembersSubTab, and LLPanelGroupRolesSubTab.

Definition at line 161 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::cancel(), and LLPanelGroup::handleNotifyCallback().

void * LLPanelGroupTab::createTab ( void data  )  [static]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupNotices, LLPanelGroupRoles, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, LLPanelGroupActionsSubTab, and LLPanelGroupVoting.

Definition at line 50 of file llpanelgroup.cpp.

References LLPanelGroupTab().

virtual void LLPanelGroupTab::deactivate (  )  [inline, virtual]

Reimplemented in LLPanelGroupRoles, LLPanelGroupSubTab, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.

Definition at line 147 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::deactivate(), LLPanelGroupRoles::transitionToTab(), and LLPanelGroup::transitionToTab().

virtual LLString LLPanelGroupTab::getHelpText (  )  const [inline, virtual]

Reimplemented in LLPanelGroupRoles.

Definition at line 167 of file llpanelgroup.h.

References mHelpText.

Referenced by LLPanelGroupRoles::getHelpText(), and handleClickHelp().

void LLPanelGroupTab::handleClickHelp (  ) 

Definition at line 120 of file llpanelgroup.cpp.

References LLFloater::addDependentFloater(), LLViewerWindow::alertXml(), getHelpText(), LLFloaterView::getParentFloater(), gFloaterView, and gViewerWindow.

virtual BOOL LLPanelGroupTab::hasModal (  )  [inline, virtual]

Reimplemented in LLPanelGroupRoles.

Definition at line 154 of file llpanelgroup.h.

References mHasModal.

Referenced by LLPanelGroup::canClose(), and LLPanelGroupRoles::hasModal().

BOOL LLPanelGroupTab::isVisibleByAgent ( LLAgent agentp  )  [virtual]

Reimplemented in LLPanelGroupLandMoney, LLPanelGroupNotices, LLPanelGroupRoles, and LLPanelGroupVoting.

Definition at line 61 of file llpanelgroup.cpp.

References TRUE.

virtual bool LLPanelGroupTab::needsApply ( LLString mesg  )  [inline, virtual]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupRoles, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, LLPanelGroupActionsSubTab, and LLPanelGroupVoting.

Definition at line 151 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::apply(), LLPanelGroup::apply(), LLPanelGroupRoles::attemptTransition(), LLPanelGroup::attemptTransition(), LLPanelGroup::draw(), LLPanelGroupRoles::needsApply(), and LLPanelGroup::tabChanged().

void LLPanelGroupTab::notifyObservers (  ) 

Definition at line 99 of file llpanelgroup.cpp.

References mObservers.

Referenced by LLPanelGroupRolesSubTab::apply(), LLPanelGroupLandMoney::apply(), LLPanelGroupMembersSubTab::applyMemberChanges(), LLPanelGroupRolesSubTab::cancel(), LLPanelGroupMembersSubTab::cancel(), LLPanelGroupLandMoney::cancel(), LLPanelGroupGeneral::cancel(), LLPanelGroupLandMoney::impl::contributionCommitCallback(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupRolesSubTab::handleCreateRole(), LLPanelGroupRolesSubTab::handleDeleteRole(), LLPanelGroupMembersSubTab::handleRoleCheck(), and LLPanelGroupRoles::tabChanged().

void LLPanelGroupTab::onClickHelp ( void data  )  [static]

Definition at line 114 of file llpanelgroup.cpp.

Referenced by postBuild().

BOOL LLPanelGroupTab::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupNotices, LLPanelGroupRoles, LLPanelGroupSubTab, and LLPanelGroupVoting.

Definition at line 67 of file llpanelgroup.cpp.

References LLPanel::getChildByName(), LLTextBox::getText(), mHelpText, onClickHelp(), LLView::removeChild(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), and TRUE.

Referenced by LLPanelGroupVoting::postBuild(), LLPanelGroupSubTab::postBuild(), LLPanelGroupRoles::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), and LLPanelGroupGeneral::postBuild().

void LLPanelGroupTab::removeObserver ( LLPanelGroupTabObserver obs  ) 

Definition at line 94 of file llpanelgroup.cpp.

References mObservers.

void LLPanelGroupTab::setAllowEdit ( BOOL  v  )  [inline]

Definition at line 178 of file llpanelgroup.h.

References mAllowEdit.

Referenced by LLPanelGroup::postBuild().

virtual void LLPanelGroupTab::update ( LLGroupChange  gc  )  [inline, virtual]

Reimplemented in LLPanelGroupGeneral, LLPanelGroupLandMoney, LLPanelGroupRoles, LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, LLPanelGroupActionsSubTab, and LLPanelGroupVoting.

Definition at line 164 of file llpanelgroup.h.

Referenced by LLPanelGroup::changed(), LLPanelGroupSubTab::setSearchFilter(), and LLPanelGroupRoles::update().


Member Data Documentation

BOOL LLPanelGroupTab::mAllowEdit [protected]

Definition at line 189 of file llpanelgroup.h.

Referenced by LLPanelGroupVoting::isVisibleByAgent(), LLPanelGroupRoles::isVisibleByAgent(), LLPanelGroupNotices::isVisibleByAgent(), LLPanelGroupLandMoney::isVisibleByAgent(), setAllowEdit(), and LLPanelGroupGeneral::update().

LLUUID LLPanelGroupTab::mGroupID [protected]

Definition at line 185 of file llpanelgroup.h.

Referenced by LLPanelGroupVoting::activate(), LLPanelGroupRoles::activate(), LLPanelGroupNotices::activate(), LLPanelGroupGeneral::activate(), LLPanelGroupRolesSubTab::apply(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupGeneral::apply(), LLPanelGroupMembersSubTab::applyMemberChanges(), LLPanelGroupSubTab::buildActionCategory(), LLPanelGroupRolesSubTab::buildMembersList(), LLPanelGroupRolesSubTab::cancel(), LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupActionsSubTab::handleActionSelect(), LLPanelGroupRolesSubTab::handleCreateRole(), LLPanelGroupRolesSubTab::handleDeleteRole(), LLPanelGroupMembersSubTab::handleEjectMembers(), LLPanelGroupMembersSubTab::handleInviteMember(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLPanelGroupRolesSubTab::handleMemberVisibilityChange(), LLPanelGroupMembersSubTab::handleRoleCheck(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLPanelGroupVoting::isVisibleByAgent(), LLPanelGroupRoles::isVisibleByAgent(), LLPanelGroupNotices::isVisibleByAgent(), LLPanelGroupLandMoney::isVisibleByAgent(), LLPanelGroupRolesSubTab::needsApply(), LLPanelGroupGeneral::needsApply(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::saveRoleChanges(), LLPanelGroupVoting::update(), LLPanelGroupActionsSubTab::update(), LLPanelGroupRolesSubTab::update(), LLPanelGroupMembersSubTab::update(), LLPanelGroupRoles::update(), LLPanelGroupGeneral::update(), LLPanelGroupMembersSubTab::updateMembers(), LLPanelGroupGeneral::updateMembers(), LLPanelGroupLandMoney::~LLPanelGroupLandMoney(), and LLPanelGroupNotices::~LLPanelGroupNotices().

BOOL LLPanelGroupTab::mHasModal [protected]

Definition at line 190 of file llpanelgroup.h.

Referenced by LLPanelGroupRolesSubTab::addActionCB(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupRoles::attemptTransition(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupRoles::handleNotifyCallback(), LLPanelGroupRoles::hasModal(), and hasModal().

LLString LLPanelGroupTab::mHelpText [protected]

Definition at line 187 of file llpanelgroup.h.

Referenced by LLPanelGroupRoles::getHelpText(), getHelpText(), and postBuild().

observer_list_t LLPanelGroupTab::mObservers [protected]

Definition at line 193 of file llpanelgroup.h.

Referenced by addObserver(), notifyObservers(), removeObserver(), and ~LLPanelGroupTab().

LLTabContainerCommon* LLPanelGroupTab::mTabContainer [protected]

Definition at line 186 of file llpanelgroup.h.


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