#include <select_list.hh>
Inheritance diagram for VOSGUI::SelectList:
This control presents a list of objects. One or more may be selected, in which case they are added to the "selected" group.
add property specifying order to try determining what text to display in list (e.g. "subobj(misc:title),property-contents,context-name"). or use a list of properties. Or change the choices group to contain small structure objects (linking to label and the actual object)
Definition at line 58 of file select_list.hh.
|
Constructor.
Definition at line 30 of file select_list.cc. |
|
Destructor.
Definition at line 36 of file select_list.cc. |
|
Add an object to list.
Definition at line 92 of file select_list.cc. |
|
Return the Vobject containing choices objects.
Definition at line 140 of file select_list.cc. |
|
Get the first selected object. This is convenient for use when multiple selection is off. (But does not make much sense when it is on). Returns 0 if there are no object selected. Definition at line 83 of file select_list.cc. |
|
Find a suitable label Property for an item (for internal use, primarily). The following sources are tried, in this order:
Definition at line 214 of file select_list.cc. |
|
Definition at line 155 of file select_list.cc. |
|
Definition at line 163 of file select_list.cc. Referenced by getMultiple(). |
|
Get the selected objects.
Definition at line 74 of file select_list.cc. |
|
Return type string ("gui:widget.select.list").
Reimplemented from VOSGUI::Select. Definition at line 58 of file select_list.cc. |
|
Find "gui:selected" and "gui:choices" subobjects. You MUST call this, or call setSelectedObj(), setChoicesObj() and setMultiple(), for things to work correctly. Reimplemented from VOSGUI::Widget. Reimplemented in VOSGUI::LocalSelectList. Definition at line 200 of file select_list.cc. |
|
Register Extenders.
Reimplemented from VOSGUI::Select. Definition at line 63 of file select_list.cc. Referenced by VOSGUI::registerAll(). |
|
Remove (the first occurance of) an object from the list.
Definition at line 96 of file select_list.cc. |
|
Return the Vobject containing selected objects.
Definition at line 129 of file select_list.cc. |
|
Set the choices container object. Don't call after initialize() or it won't work right. Definition at line 144 of file select_list.cc. |
|
Set multiple selection property. This does not affect the behavior of the add() method, rather it instructs client applications to allow or disallow multiple selections.
Definition at line 150 of file select_list.cc. Referenced by VOSGUI::LocalSelectList::initialize(). |
|
Set the selected objects container object. Don't call after initialize() or it won't work. Definition at line 133 of file select_list.cc. |
|
Definition at line 62 of file select_list.hh. Referenced by add(), choicesObjectList(), initialize(), VOSGUI::LocalSelectList::initialize(), and setChoicesObj(). |
|
Definition at line 63 of file select_list.hh. Referenced by getFirstSelected(), getSelected(), initialize(), VOSGUI::LocalSelectList::initialize(), selectedObjectList(), and setSelectedObj(). |