#include <llscrolllistctrl.h>
Public Member Functions | |
LLScrollListCheck (LLCheckBoxCtrl *check_box, S32 width=0) | |
~LLScrollListCheck () | |
virtual void | draw (const LLColor4 &color, const LLColor4 &highlight_color) const |
virtual S32 | getHeight () const |
virtual const LLSD | getValue () const |
virtual void | setValue (const LLSD &value) |
virtual void | onCommit () |
virtual BOOL | handleClick () |
virtual void | setEnabled (BOOL enable) |
LLCheckBoxCtrl * | getCheckBox () |
virtual BOOL | isText () const |
Private Attributes | |
LLCheckBoxCtrl * | mCheckBox |
Definition at line 161 of file llscrolllistctrl.h.
LLScrollListCheck::LLScrollListCheck | ( | LLCheckBoxCtrl * | check_box, | |
S32 | width = 0 | |||
) |
Definition at line 180 of file llscrolllistctrl.cpp.
References LLView::getRect(), mCheckBox, LLView::setRect(), and LLScrollListCell::setWidth().
LLScrollListCheck::~LLScrollListCheck | ( | ) |
void LLScrollListCheck::draw | ( | const LLColor4 & | color, | |
const LLColor4 & | highlight_color | |||
) | const [virtual] |
Implements LLScrollListCell.
Definition at line 202 of file llscrolllistctrl.cpp.
References LLCheckBoxCtrl::draw(), and mCheckBox.
virtual S32 LLScrollListCheck::getHeight | ( | ) | const [inline, virtual] |
virtual const LLSD LLScrollListCheck::getValue | ( | ) | const [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 168 of file llscrolllistctrl.h.
References LLCheckBoxCtrl::getValue(), and mCheckBox.
virtual void LLScrollListCheck::setValue | ( | const LLSD & | value | ) | [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 169 of file llscrolllistctrl.h.
References mCheckBox, and LLCheckBoxCtrl::setValue().
virtual void LLScrollListCheck::onCommit | ( | ) | [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 170 of file llscrolllistctrl.h.
References mCheckBox, and LLCheckBoxCtrl::onCommit().
BOOL LLScrollListCheck::handleClick | ( | ) | [virtual] |
Reimplemented from LLScrollListCell.
Definition at line 207 of file llscrolllistctrl.cpp.
References LLView::getEnabled(), mCheckBox, LLCheckBoxCtrl::toggle(), and TRUE.
virtual void LLScrollListCheck::setEnabled | ( | BOOL | enable | ) | [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 173 of file llscrolllistctrl.h.
References mCheckBox, and LLCheckBoxCtrl::setEnabled().
LLCheckBoxCtrl* LLScrollListCheck::getCheckBox | ( | ) | [inline] |
Definition at line 175 of file llscrolllistctrl.h.
References mCheckBox.
Referenced by LLPanelGroupSubTab::buildActionCategory(), and LLPanelGroupMembersSubTab::handleMemberSelect().
virtual BOOL LLScrollListCheck::isText | ( | ) | const [inline, virtual] |
LLCheckBoxCtrl* LLScrollListCheck::mCheckBox [private] |
Definition at line 179 of file llscrolllistctrl.h.
Referenced by draw(), getCheckBox(), getValue(), handleClick(), LLScrollListCheck(), onCommit(), setEnabled(), setValue(), and ~LLScrollListCheck().