LLPanelGroup Class Reference

#include <llpanelgroup.h>

Inheritance diagram for LLPanelGroup:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelGroup (const std::string &filename, const std::string &name, const LLUUID &group_id, const std::string &initial_tab_selected=std::string())
virtual ~LLPanelGroup ()
virtual BOOL postBuild ()
void handleClickTab ()
void setGroupID (const LLUUID &group_id)
void selectTab (std::string tab_name)
BOOL canClose ()
BOOL attemptTransition ()
void transitionToTab ()
void updateTabVisibility ()
void handleNotifyCallback (S32 option)
bool apply ()
void refreshData ()
void close ()
void draw ()
virtual void changed (LLGroupChange gc)
virtual void tabChanged ()
void setAllowEdit (BOOL v)
void showNotice (const char *subject, const char *message, const bool &has_inventory, const char *inventory_name, LLOfferInfo *inventory_offer)

Static Public Member Functions

static void onBtnOK (void *)
static void onBtnCancel (void *)
static void onBtnApply (void *)
static void onBtnRefresh (void *)
static void onClickTab (void *, bool)
static void onNotifyCallback (S32 option, void *user_data)

Protected Attributes

LLPanelGroupTabmCurrentTab
LLPanelGroupTabmRequestedTab
LLTabContainermTabContainer
BOOL mIgnoreTransition
LLButtonmApplyBtn
LLTimer mRefreshTimer
BOOL mForceClose
std::string mInitialTab
std::string mFilename
LLString mDefaultNeedsApplyMesg
LLString mWantApplyMesg
BOOL mAllowEdit
BOOL mShowingNotifyDialog


Detailed Description

Definition at line 55 of file llpanelgroup.h.


Constructor & Destructor Documentation

LLPanelGroup::LLPanelGroup ( const std::string &  filename,
const std::string &  name,
const LLUUID group_id,
const std::string &  initial_tab_selected = std::string() 
)

LLPanelGroup::~LLPanelGroup (  )  [virtual]


Member Function Documentation

BOOL LLPanelGroup::postBuild ( void   )  [virtual]

void LLPanelGroup::onBtnOK ( void *  user_data  )  [static]

Definition at line 518 of file llpanelgroup.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroup::onBtnCancel ( void *  user_data  )  [static]

Definition at line 529 of file llpanelgroup.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroup::onBtnApply ( void *  user_data  )  [static]

Definition at line 536 of file llpanelgroup.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroup::onBtnRefresh ( void *  user_data  )  [static]

Definition at line 580 of file llpanelgroup.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroup::onClickTab ( void *  user_data,
bool  from_click 
) [static]

Definition at line 332 of file llpanelgroup.cpp.

Referenced by postBuild(), and selectTab().

Here is the caller graph for this function:

void LLPanelGroup::handleClickTab (  ) 

Definition at line 338 of file llpanelgroup.cpp.

References attemptTransition(), LLTabContainer::getCurrentPanel(), mCurrentTab, mIgnoreTransition, mRequestedTab, and mTabContainer.

Here is the call graph for this function:

void LLPanelGroup::setGroupID ( const LLUUID group_id  ) 

void LLPanelGroup::selectTab ( std::string  tab_name  ) 

Definition at line 377 of file llpanelgroup.cpp.

References mTabContainer, onClickTab(), LLTabContainer::selectTabPanel(), and TRUE.

Referenced by LLFloaterGroupInfo::selectTabByName().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelGroup::canClose (  ) 

Definition at line 391 of file llpanelgroup.cpp.

References attemptTransition(), FALSE, LLPanelGroupTab::hasModal(), mAllowEdit, mCurrentTab, mForceClose, mRequestedTab, mShowingNotifyDialog, NULL, and TRUE.

Referenced by LLFloaterGroupInfo::canClose().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelGroup::attemptTransition (  ) 

void LLPanelGroup::transitionToTab (  ) 

Definition at line 447 of file llpanelgroup.cpp.

References LLPanelGroupTab::activate(), close(), LLPanelGroupTab::deactivate(), mCurrentTab, and mRequestedTab.

Referenced by attemptTransition(), and handleNotifyCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroup::updateTabVisibility (  ) 

void LLPanelGroup::onNotifyCallback ( S32  option,
void *  user_data 
) [static]

Definition at line 469 of file llpanelgroup.cpp.

Referenced by attemptTransition().

Here is the caller graph for this function:

void LLPanelGroup::handleNotifyCallback ( S32  option  ) 

bool LLPanelGroup::apply (  ) 

Definition at line 542 of file llpanelgroup.cpp.

References LLViewerWindow::alertXml(), LLPanelGroupTab::apply(), LLTabContainer::getCurrentPanel(), gViewerWindow, mTabContainer, and LLPanelGroupTab::needsApply().

Referenced by handleNotifyCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroup::refreshData (  ) 

void LLPanelGroup::close (  ) 

Definition at line 615 of file llpanelgroup.cpp.

References LLFloater::close(), LLView::getParent(), mForceClose, and TRUE.

Referenced by LLFloaterGroupInfo::closeGroup(), and transitionToTab().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroup::draw ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 587 of file llpanelgroup.cpp.

References LLPanel::childEnable(), LLPanel::childSetEnabled(), LLPanel::draw(), LLTimer::hasExpired(), mCurrentTab, mRefreshTimer, LLPanelGroupTab::needsApply(), and LLTimer::stop().

Here is the call graph for this function:

void LLPanelGroup::changed ( LLGroupChange  gc  )  [virtual]

Implements LLGroupMgrObserver.

Definition at line 307 of file llpanelgroup.cpp.

References LLTabContainer::getCurrentPanel(), mTabContainer, LLPanelGroupTab::update(), and updateTabVisibility().

Here is the call graph for this function:

void LLPanelGroup::tabChanged (  )  [virtual]

Implements LLPanelGroupTabObserver.

Definition at line 320 of file llpanelgroup.cpp.

References mApplyBtn, mCurrentTab, LLPanelGroupTab::needsApply(), and LLView::setEnabled().

Here is the call graph for this function:

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

Definition at line 104 of file llpanelgroup.h.

References mAllowEdit.

void LLPanelGroup::showNotice ( const char *  subject,
const char *  message,
const bool &  has_inventory,
const char *  inventory_name,
LLOfferInfo inventory_offer 
)

Definition at line 630 of file llpanelgroup.cpp.

References LLView::getName(), inventory_offer_callback(), IOR_DECLINE, mCurrentTab, and LLPanelGroupNotices::showNotice().

Referenced by LLFloaterGroupInfo::showNotice().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 115 of file llpanelgroup.h.

Referenced by attemptTransition(), handleClickTab(), and handleNotifyCallback().

Definition at line 117 of file llpanelgroup.h.

Referenced by postBuild(), and tabChanged().

Definition at line 119 of file llpanelgroup.h.

Referenced by draw(), and refreshData().

Definition at line 121 of file llpanelgroup.h.

Referenced by canClose(), and close().

std::string LLPanelGroup::mInitialTab [protected]

Definition at line 123 of file llpanelgroup.h.

Referenced by postBuild().

std::string LLPanelGroup::mFilename [protected]

Definition at line 124 of file llpanelgroup.h.

Referenced by LLPanelGroup(), and setGroupID().

Definition at line 126 of file llpanelgroup.h.

Referenced by attemptTransition(), and postBuild().

Definition at line 127 of file llpanelgroup.h.

Referenced by attemptTransition(), and postBuild().

Definition at line 129 of file llpanelgroup.h.

Referenced by canClose(), postBuild(), and setAllowEdit().

Definition at line 130 of file llpanelgroup.h.

Referenced by attemptTransition(), canClose(), and handleNotifyCallback().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:56:41 2008 for SecondLife by  doxygen 1.5.5