#include <llctrlselectioninterface.h>
Inheritance diagram for LLCtrlSelectionInterface:
Public Types | |
OP_DELETE = 1 | |
OP_SELECT | |
OP_DESELECT | |
enum | EOperation { OP_DELETE = 1, OP_SELECT, OP_DESELECT } |
Public Member Functions | |
virtual | ~LLCtrlSelectionInterface () |
virtual BOOL | getCanSelect () const =0 |
virtual S32 | getItemCount () const =0 |
virtual BOOL | selectFirstItem ()=0 |
virtual BOOL | selectNthItem (S32 index)=0 |
virtual S32 | getFirstSelectedIndex () const =0 |
virtual BOOL | setCurrentByID (const LLUUID &id)=0 |
virtual LLUUID | getCurrentID ()=0 |
BOOL | selectByValue (LLSD value) |
BOOL | deselectByValue (LLSD value) |
virtual BOOL | setSelectedByValue (LLSD value, BOOL selected)=0 |
virtual LLSD | getSimpleSelectedValue ()=0 |
virtual BOOL | isSelected (LLSD value)=0 |
virtual BOOL | operateOnSelection (EOperation op)=0 |
virtual BOOL | operateOnAll (EOperation op)=0 |
Definition at line 43 of file llctrlselectioninterface.h.
Definition at line 48 of file llctrlselectioninterface.h.
LLCtrlSelectionInterface::~LLCtrlSelectionInterface | ( | ) | [virtual] |
Definition at line 38 of file llctrlselectioninterface.cpp.
Definition at line 46 of file llctrlselectioninterface.cpp.
References FALSE, and setSelectedByValue().
virtual BOOL LLCtrlSelectionInterface::getCanSelect | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
virtual LLUUID LLCtrlSelectionInterface::getCurrentID | ( | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelGroups::activate(), LLPanelGroups::enableButtons(), LLPanelGroups::info(), LLPanelGroups::leave(), LLFloaterGroupPicker::ok(), and LLPanelGroups::startIM().
virtual S32 LLCtrlSelectionInterface::getFirstSelectedIndex | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterImagePreview::handleHover(), LLChatBar::onCommitGesture(), and LLFloaterImagePreview::onPreviewTypeCommit().
virtual S32 LLCtrlSelectionInterface::getItemCount | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
virtual LLSD LLCtrlSelectionInterface::getSimpleSelectedValue | ( | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLChatBar::onCommitGesture(), and LLPrefsVoiceLogic::onEarLocationCommit().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
virtual BOOL LLCtrlSelectionInterface::operateOnAll | ( | EOperation | op | ) | [pure virtual] |
Referenced by init_group_list(), and LLPanelGroups::reset().
virtual BOOL LLCtrlSelectionInterface::operateOnSelection | ( | EOperation | op | ) | [pure virtual] |
Definition at line 41 of file llctrlselectioninterface.cpp.
References setSelectedByValue(), and TRUE.
Referenced by LLPrefsVoiceLogic::init(), init_group_list(), LLChatBar::refreshGestures(), LLPanelActiveSpeakers::refreshSpeakers(), LLScrollListCtrl::selectByID(), and LLComboBox::setValue().
virtual BOOL LLCtrlSelectionInterface::selectFirstItem | ( | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterImagePreview::postBuild(), LLChatBar::refreshGestures(), and LLFloaterClothing::show().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelFace::getState().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::trackAvatar(), LLFloaterWorldMap::trackLandmark(), and LLPanelFriends::updateFriends().
virtual BOOL LLCtrlSelectionInterface::setSelectedByValue | ( | LLSD | value, | |
BOOL | selected | |||
) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by deselectByValue(), selectByValue(), and LLPanelFriends::updateFriends().