LLScrollListCell Class Reference

#include <llscrolllistctrl.h>

Inheritance diagram for LLScrollListCell:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 LLScrollListCell (S32 width=0)
virtual ~LLScrollListCell ()
virtual void draw (const LLColor4 &color, const LLColor4 &highlight_color) const =0
virtual S32 getWidth () const
virtual S32 getContentWidth () const
virtual S32 getHeight () const =0
virtual const LLSD getValue () const
virtual void setValue (const LLSD &value)
virtual BOOL getVisible () const
virtual void setWidth (S32 width)
virtual void highlightText (S32 offset, S32 num_chars)
virtual BOOL isText () const =0
virtual void setColor (const LLColor4 &)
virtual void onCommit ()
virtual BOOL handleClick ()
virtual void setEnabled (BOOL enable)

Private Attributes

S32 mWidth


Detailed Description

Definition at line 59 of file llscrolllistctrl.h.


Constructor & Destructor Documentation

LLScrollListCell::LLScrollListCell ( S32  width = 0  )  [inline]

Definition at line 62 of file llscrolllistctrl.h.

virtual LLScrollListCell::~LLScrollListCell (  )  [inline, virtual]

Definition at line 63 of file llscrolllistctrl.h.


Member Function Documentation

virtual void LLScrollListCell::draw ( const LLColor4 color,
const LLColor4 highlight_color 
) const [pure virtual]

Implemented in LLScrollListSeparator, LLScrollListText, LLScrollListIcon, and LLScrollListCheck.

Referenced by LLScrollListItemSeparator::draw(), and LLScrollListItemComment::draw().

Here is the caller graph for this function:

virtual S32 LLScrollListCell::getWidth (  )  const [inline, virtual]

Reimplemented in LLScrollListIcon.

Definition at line 65 of file llscrolllistctrl.h.

References mWidth.

Referenced by LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), LLScrollListText::draw(), LLScrollListSeparator::draw(), and LLScrollListIcon::getWidth().

Here is the caller graph for this function:

virtual S32 LLScrollListCell::getContentWidth (  )  const [inline, virtual]

Reimplemented in LLScrollListText.

Definition at line 66 of file llscrolllistctrl.h.

virtual S32 LLScrollListCell::getHeight (  )  const [pure virtual]

virtual const LLSD LLScrollListCell::getValue (  )  const [inline, virtual]

virtual void LLScrollListCell::setValue ( const LLSD value  )  [inline, virtual]

Reimplemented in LLScrollListText, LLScrollListIcon, and LLScrollListCheck.

Definition at line 69 of file llscrolllistctrl.h.

Referenced by LLScrollListCtrl::handleClick(), LLPanelActiveSpeakers::refreshSpeakers(), and LLPanelFriends::updateFriendItem().

Here is the caller graph for this function:

virtual BOOL LLScrollListCell::getVisible (  )  const [inline, virtual]

Reimplemented in LLScrollListText.

Definition at line 70 of file llscrolllistctrl.h.

References TRUE.

Referenced by LLScrollListItemSeparator::draw(), and LLScrollListItemComment::draw().

Here is the caller graph for this function:

virtual void LLScrollListCell::setWidth ( S32  width  )  [inline, virtual]

Definition at line 71 of file llscrolllistctrl.h.

References mWidth.

Referenced by LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), and LLScrollListCheck::LLScrollListCheck().

Here is the caller graph for this function:

virtual void LLScrollListCell::highlightText ( S32  offset,
S32  num_chars 
) [inline, virtual]

Reimplemented in LLScrollListText.

Definition at line 72 of file llscrolllistctrl.h.

Referenced by LLScrollListCtrl::deselectItem(), LLScrollListCtrl::handleKeyHere(), LLScrollListCtrl::handleUnicodeCharHere(), and LLScrollListCtrl::selectItem().

Here is the caller graph for this function:

virtual BOOL LLScrollListCell::isText (  )  const [pure virtual]

Implemented in LLScrollListSeparator, LLScrollListText, LLScrollListIcon, and LLScrollListCheck.

Referenced by LLScrollListCtrl::handleToolTip(), and LLColumnHeader::showList().

Here is the caller graph for this function:

virtual void LLScrollListCell::setColor ( const LLColor4  )  [inline, virtual]

Reimplemented in LLScrollListText, and LLScrollListIcon.

Definition at line 74 of file llscrolllistctrl.h.

Referenced by LLScrollListCtrl::addElement(), and LLPanelActiveSpeakers::refreshSpeakers().

Here is the caller graph for this function:

virtual void LLScrollListCell::onCommit (  )  [inline, virtual]

Reimplemented in LLScrollListCheck.

Definition at line 75 of file llscrolllistctrl.h.

Referenced by LLScrollListCtrl::handleClick().

Here is the caller graph for this function:

virtual BOOL LLScrollListCell::handleClick (  )  [inline, virtual]

Reimplemented in LLScrollListCheck.

Definition at line 77 of file llscrolllistctrl.h.

References FALSE.

Referenced by LLScrollListCtrl::handleClick().

Here is the caller graph for this function:

virtual void LLScrollListCell::setEnabled ( BOOL  enable  )  [inline, virtual]

Reimplemented in LLScrollListCheck.

Definition at line 78 of file llscrolllistctrl.h.

Referenced by LLPanelLandObjects::onCommitList().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 81 of file llscrolllistctrl.h.

Referenced by getWidth(), and setWidth().


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

Generated on Fri May 16 09:02:43 2008 for SecondLife by  doxygen 1.5.5