|
|
LibN2L-4 Library Code Reference
Classes
Compounds
Files
Members
Method Index
Full Reference
n2l::cGuiSButtonSelectBox Class ReferenceA gui element which will draw at the current mouse location to act as a mouse point`er.
More...
#include <cGuiSButtonSelectBox.h>
Inheritance diagram for n2l::cGuiSButtonSelectBox:
[legend]Collaboration diagram for n2l::cGuiSButtonSelectBox:
[legend]List of all members.Public Member Functions
- cGuiSButtonSelectBox ()
- cGuiSButtonSelectBox (const cVfsNodeInterface &iNode)
- cGuiSButtonSelectBox (const cDynVar &iDef)
- virtual ~cGuiSButtonSelectBox ()
- virtual void load (const cVfsNodeInterface &iNode)
- Load this elements properties from the provided VFS Node.
- virtual void load (const cDynVar &iDef)
- Load this elements properties from the provided definition.
- virtual void draw () const
- Draw ourselves on the screen.
- virtual void slider (const cGuiSlider &iSliderTemplate)
- virtual const cAutoPtr< cGuiSButton > addButton (const cDynVar &iValue, const tString &iLabel, const cGuiSButton &iButtonTemplate)
- virtual void multiple (const tBool iMultiple)
- virtual const tBool multiple () const
- virtual void noUnselect (const tBool iUnselectable)
- virtual const tBool noUnselect () const
- virtual const tUint numButtons () const
- virtual const cAutoPtr< cGuiElement > clone () const
- Return a new element using this element as a template for its construction.
- virtual void systemEvent (const cAutoPtr< const cEventInterface > &i_iEvent)
- Tell the element that a system event has occured.
- virtual void systemEventOutside (const cAutoPtr< const cEventInterface > &i_iEvent)
- Inform the element that a system event took place outside of its scope.
- virtual void update (const tUint iTimePassed)
- Inform the canvas how much time has passed since its last update, usually this is called once per frame.
- virtual void clearSelections ()
- virtual void clearButtons ()
- virtual void selected (const cDynVar &iValue)
- Set the currently selected item, or in a multiselect, add this item to the selection.
- virtual void selectedByLabel (const cDynVar &iValue)
- Set the currently selected item, or in a multiselect, add this item to the selection - instead of using the value, however, use the label.
- virtual void selectedByIndex (const tUint &iIndex)
- virtual void selectNext ()
- virtual void selectPrev ()
- virtual const cAutoPtr< cGuiSButton > & getButton (const cDynVar &iValue)
- virtual const cAutoPtr< cGuiSButton > & getButtonByLabel (const cDynVar &iLabel)
- virtual const cAutoPtr< cGuiSButton > & getButtonByIndex (const tUint &iIndex)
- virtual const cDynVar & selected () const
- Get the currently selected value, or false if nothing.
- virtual const cDynVar & getValueByLabel (const cDynVar &iValue)
- virtual const cDynVar & getValueByIndex (const tUint &iIndex) const
- virtual const tBool isAnySelected () const
- virtual const tBool wantsFocus () const
- This method should return true if the element wants to be able to get the focus via a TAB or SHIFT-TAB.
Static Public Attributes
Protected Member Functions
Classes
- class cItemSelectedAction
Detailed Description
A gui element which will draw at the current mouse location to act as a mouse point`er.
Definition at line 47 of file cGuiSButtonSelectBox.h.
Constructor & Destructor Documentation
| n2l::cGuiSButtonSelectBox::cGuiSButtonSelectBox |
( |
|
) |
|
|
| n2l::cGuiSButtonSelectBox::cGuiSButtonSelectBox |
( |
const cDynVar & |
iDef |
) |
|
|
| n2l::cGuiSButtonSelectBox::~cGuiSButtonSelectBox |
( |
|
) |
[virtual] |
|
Member Function Documentation
| void n2l::cGuiSButtonSelectBox::clearButtons |
( |
|
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::clearSelections |
( |
|
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::dimensionChanged |
( |
|
) |
[protected, virtual] |
|
| void n2l::cGuiSButtonSelectBox::draw |
( |
|
) |
const [virtual] |
|
| const cDynVar & n2l::cGuiSButtonSelectBox::getValueByIndex |
( |
const tUint & |
iIndex |
) |
const [virtual] |
|
| const cDynVar & n2l::cGuiSButtonSelectBox::getValueByLabel |
( |
const cDynVar & |
iValue |
) |
[virtual] |
|
| virtual const tBool n2l::cGuiSButtonSelectBox::isAnySelected |
( |
|
) |
const [inline, virtual] |
|
| void n2l::cGuiSButtonSelectBox::load |
( |
const cDynVar & |
iDef |
) |
[virtual] |
|
| const tBool n2l::cGuiSButtonSelectBox::multiple |
( |
|
) |
const [virtual] |
|
| void n2l::cGuiSButtonSelectBox::multiple |
( |
const tBool |
iMultiple |
) |
[virtual] |
|
| const tBool n2l::cGuiSButtonSelectBox::noUnselect |
( |
|
) |
const [virtual] |
|
| void n2l::cGuiSButtonSelectBox::noUnselect |
( |
const tBool |
iUnselectable |
) |
[virtual] |
|
|
|
- Warning:
- The No Unselect property is ignored for multiselect selection boxes. No exceptions will be thrown.
Definition at line 218 of file cGuiSButtonSelectBox.cpp. |
| const tUint n2l::cGuiSButtonSelectBox::numButtons |
( |
|
) |
const [virtual] |
|
| const cDynVar & n2l::cGuiSButtonSelectBox::selected |
( |
|
) |
const [virtual] |
|
| void n2l::cGuiSButtonSelectBox::selected |
( |
const cDynVar & |
iValue |
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::selectedByIndex |
( |
const tUint & |
iIndex |
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::selectedByLabel |
( |
const cDynVar & |
iValue |
) |
[virtual] |
|
|
|
Set the currently selected item, or in a multiselect, add this item to the selection - instead of using the value, however, use the label.
Definition at line 332 of file cGuiSButtonSelectBox.cpp.
References selectedByIndex(). |
| void n2l::cGuiSButtonSelectBox::selectNext |
( |
|
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::selectPrev |
( |
|
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::slider |
( |
const cGuiSlider & |
iSliderTemplate |
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::systemEventOutside |
( |
const cAutoPtr< const cEventInterface > & |
i_iEvent |
) |
[virtual] |
|
| void n2l::cGuiSButtonSelectBox::update |
( |
const tUint |
iTimePassed |
) |
[virtual] |
|
| const tBool n2l::cGuiSButtonSelectBox::wantsFocus |
( |
|
) |
const [virtual] |
|
|
|
This method should return true if the element wants to be able to get the focus via a TAB or SHIFT-TAB.
- Note:
- Default defined here is no.
Reimplemented from n2l::cGuiElement.
Definition at line 497 of file cGuiSButtonSelectBox.cpp. |
Member Data Documentation
The documentation for this class was generated from the following files:
|