LLViewChildren Class Reference

#include <llviewchildren.h>

Collaboration diagram for LLViewChildren:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Badge { BADGE_OK, BADGE_NOTE, BADGE_WARN, BADGE_ERROR }

Public Member Functions

 LLViewChildren (LLPanel &parent)
void show (const char *id, bool visible=true)
void hide (const char *id)
void enable (const char *id, bool enabled=true)
void disable (const char *id)
void setText (const char *id, const std::string &text, bool visible=true)
void setWrappedText (const char *id, const std::string &text, bool visible=true)
void setBadge (const char *id, Badge b, bool visible=true)
void setAction (const char *id, void(*function)(void *), void *value)

Private Attributes

LLPanelmParent


Detailed Description

Definition at line 37 of file llviewchildren.h.


Member Enumeration Documentation

Enumerator:
BADGE_OK 
BADGE_NOTE 
BADGE_WARN 
BADGE_ERROR 

Definition at line 59 of file llviewchildren.h.


Constructor & Destructor Documentation

LLViewChildren::LLViewChildren ( LLPanel parent  ) 

Definition at line 49 of file llviewchildren.cpp.


Member Function Documentation

void LLViewChildren::show ( const char *  id,
bool  visible = true 
)

Definition at line 55 of file llviewchildren.cpp.

References LLPanel::childSetVisible(), and mParent.

Referenced by hide().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewChildren::hide ( const char *  id  )  [inline]

Definition at line 46 of file llviewchildren.h.

References show().

Here is the call graph for this function:

void LLViewChildren::enable ( const char *  id,
bool  enabled = true 
)

Definition at line 60 of file llviewchildren.cpp.

References LLPanel::childSetEnabled(), and mParent.

Referenced by disable().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewChildren::disable ( const char *  id  )  [inline]

Definition at line 49 of file llviewchildren.h.

References enable().

Here is the call graph for this function:

void LLViewChildren::setText ( const char *  id,
const std::string &  text,
bool  visible = true 
)

Definition at line 65 of file llviewchildren.cpp.

References LLView::getChild(), mParent, LLTextBox::setText(), and LLView::setVisible().

Here is the call graph for this function:

void LLViewChildren::setWrappedText ( const char *  id,
const std::string &  text,
bool  visible = true 
)

Definition at line 76 of file llviewchildren.cpp.

References LLView::getChild(), mParent, LLView::setVisible(), and LLTextBox::setWrappedText().

Here is the call graph for this function:

void LLViewChildren::setBadge ( const char *  id,
Badge  b,
bool  visible = true 
)

Definition at line 87 of file llviewchildren.cpp.

References BADGE_ERROR, BADGE_NOTE, BADGE_OK, BADGE_WARN, LLView::getChild(), mParent, LLIconCtrl::setImage(), and LLView::setVisible().

Referenced by LLFloaterBuyLandUI::refreshUI(), and LLFloaterBuyCurrencyUI::updateUI().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewChildren::setAction ( const char *  id,
void(*)(void *)  function,
void *  value 
)

Definition at line 104 of file llviewchildren.cpp.

References LLView::getChild(), mParent, and LLButton::setClickedCallback().

Here is the call graph for this function:


Member Data Documentation

Definition at line 69 of file llviewchildren.h.

Referenced by enable(), setAction(), setBadge(), setText(), setWrappedText(), and show().


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

Generated on Fri May 16 09:26:05 2008 for SecondLife by  doxygen 1.5.5