LLCtrlSelectionInterface Class Reference

#include <llctrlselectioninterface.h>

Inheritance diagram for LLCtrlSelectionInterface:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Definition at line 43 of file llctrlselectioninterface.h.


Member Enumeration Documentation

enum LLCtrlSelectionInterface::EOperation

Enumerator:
OP_DELETE 
OP_SELECT 
OP_DESELECT 

Definition at line 48 of file llctrlselectioninterface.h.


Constructor & Destructor Documentation

LLCtrlSelectionInterface::~LLCtrlSelectionInterface (  )  [virtual]

Definition at line 38 of file llctrlselectioninterface.cpp.


Member Function Documentation

BOOL LLCtrlSelectionInterface::deselectByValue ( LLSD  value  ) 

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().

virtual BOOL LLCtrlSelectionInterface::isSelected ( LLSD  value  )  [pure virtual]

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]

BOOL LLCtrlSelectionInterface::selectByValue ( LLSD  value  ) 

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().

virtual BOOL LLCtrlSelectionInterface::selectNthItem ( S32  index  )  [pure virtual]

Implemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.

Referenced by LLPanelFace::getState().

virtual BOOL LLCtrlSelectionInterface::setCurrentByID ( const LLUUID id  )  [pure virtual]

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7