#include <llctrlselectioninterface.h>
Public Types | |
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 BOOL | selectItemRange (S32 first, S32 last)=0 |
virtual S32 | getFirstSelectedIndex () const =0 |
virtual BOOL | setCurrentByID (const LLUUID &id)=0 |
virtual LLUUID | getCurrentID () const =0 |
BOOL | selectByValue (const LLSD value) |
BOOL | deselectByValue (const LLSD value) |
virtual BOOL | setSelectedByValue (const LLSD &value, BOOL selected)=0 |
virtual LLSD | getSelectedValue ()=0 |
virtual BOOL | isSelected (const LLSD &value) const =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.
virtual BOOL LLCtrlSelectionInterface::getCanSelect | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelDirBrowser::draw(), LLPanelDirBrowser::onCommitList(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), and LLPanelDirBrowser::processDirPlacesReply().
virtual S32 LLCtrlSelectionInterface::getItemCount | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelEstateInfo::accessAddCore3(), LLFloaterWorldMap::buildAvatarIDList(), LLFloaterWorldMap::buildLandmarkIDLists(), LLFloaterTopObjects::doToObjects(), LLFloaterTopObjects::handleReply(), LLPanelEstateInfo::onClickAddAllowedAgent(), LLPanelEstateInfo::onClickAddAllowedGroup(), LLPanelEstateInfo::onClickAddBannedAgent(), and LLPanelEstateInfo::onClickAddEstateManager().
virtual BOOL LLCtrlSelectionInterface::selectFirstItem | ( | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::buildAvatarIDList(), LLFloaterWorldMap::buildLandmarkIDLists(), LLPanelDirBrowser::draw(), LLFloaterTopObjects::handleReply(), LLFloaterImagePreview::postBuild(), LLChatBar::refresh(), LLFloaterGesture::refreshAll(), LLFloaterClothing::refreshAll(), LLChatBar::refreshGestures(), LLFloaterGesture::show(), and LLFloaterClothing::show().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::buildAvatarIDList(), and LLPanelFace::getState().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::buildLandmarkIDLists().
virtual S32 LLCtrlSelectionInterface::getFirstSelectedIndex | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterImagePreview::draw(), LLFloaterImagePreview::handleHover(), LLChatBar::onCommitGesture(), LLFloaterImagePreview::onPreviewTypeCommit(), and LLFloaterLandHoldings::refresh().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::buildAvatarIDList(), LLFloaterWorldMap::friendsChanged(), LLPanelDirBrowser::newClassified(), LLFloaterWorldMap::onAvatarComboPrearrange(), LLFloaterWorldMap::onLandmarkComboCommit(), LLFloaterWorldMap::onLandmarkComboPrearrange(), LLFloaterGesture::refreshAll(), LLFloaterClothing::refreshAll(), LLPanelDirBrowser::selectByUUID(), LLFloaterWorldMap::trackAvatar(), LLFloaterWorldMap::trackLandmark(), and LLPanelFriends::updateFriends().
virtual LLUUID LLCtrlSelectionInterface::getCurrentID | ( | ) | const [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelGroups::activate(), LLPanelGroups::enableButtons(), LLPanelGroups::info(), LLPanelGroups::leave(), LLFloaterGroupPicker::ok(), LLFloaterWorldMap::onAvatarComboCommit(), LLFloaterGesture::onClickEdit(), LLFloaterGesture::onClickInventory(), LLFloaterGesture::onClickPlay(), LLPanelDirBrowser::onCommitList(), LLFloaterLandHoldings::onGrantList(), LLFloaterWorldMap::onLandmarkComboCommit(), LLFloaterWorldMap::onLandmarkComboPrearrange(), and LLPanelGroups::startIM().
Definition at line 41 of file llctrlselectioninterface.cpp.
References setSelectedByValue(), and TRUE.
Referenced by LLFloaterWorldMap::clearAvatarSelection(), LLFloaterWorldMap::clearLandmarkSelection(), init_group_list(), LLFloaterWater::LLFloaterWater(), LLFloaterWindLight::LLFloaterWindLight(), LLFloaterDayCycle::onDeleteKey(), LLFloaterDayCycle::onKeyTimeMoved(), LLFloaterMediaBrowser::onLocationChange(), LLFloaterEnvSettings::onUseEstateTime(), LLFloaterDayCycle::onUseLindenTime(), LLPanelLandAccess::refresh(), LLPanelRequestTools::refresh(), LLChatBar::refreshGestures(), LLScrollListCtrl::selectByID(), LLComboBox::setValue(), LLFloaterPostProcess::syncMenu(), and LLFloaterWorldMap::updateSims().
Definition at line 46 of file llctrlselectioninterface.cpp.
References FALSE, and setSelectedByValue().
virtual BOOL LLCtrlSelectionInterface::setSelectedByValue | ( | const LLSD & | value, | |
BOOL | selected | |||
) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by deselectByValue(), selectByValue(), and LLPanelFriends::updateFriends().
virtual LLSD LLCtrlSelectionInterface::getSelectedValue | ( | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLPanelLandAccess::onCommitAny(), LLChatBar::onCommitGesture(), LLFloaterWorldMap::onCommitSearchResult(), and LLPrefsVoiceLogic::onEarLocationCommit().
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterTopObjects::doToObjects().
virtual BOOL LLCtrlSelectionInterface::operateOnSelection | ( | EOperation | op | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterWorldMap::buildAvatarIDList(), LLFloaterWorldMap::buildLandmarkIDLists(), and LLFloaterClothing::refreshAll().
virtual BOOL LLCtrlSelectionInterface::operateOnAll | ( | EOperation | op | ) | [pure virtual] |
Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Referenced by LLFloaterGesture::buildGestureList(), LLFloaterURLEntry::buildURLHistory(), LLFloaterMediaBrowser::buildURLHistory(), LLFloaterURLEntry::callback_clear_url_list(), LLFloaterTopObjects::clearList(), LLFloaterWorldMap::clearLocationSelection(), init_group_list(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPlacesReply(), LLFloaterLandHoldings::processPlacesReply(), LLPanelRequestTools::refresh(), and LLPanelGroups::reset().