Abstract class for a multiple choice node.
More...
#include <DialogViz/dialog/SoDialogChoice.h>
Public Member Functions | |
| void | addAuditor (SoDialogChoiceAuditor *auditor) |
| void | removeAuditor (SoDialogChoiceAuditor *auditor) |
| void | addItem (SbString newItem) |
| void | insertItem (int index, SbString newItem) |
| void | removeItem (int index) |
Public Attributes | |
| SoMFString | items |
| SoSFInt32 | selectedItem |
Abstract class for a multiple choice node.
This node specifies the properties for SoDialogRadioButtons and SoDialogComboBox nodes.
SoDialogComboBox, SoDialogRadioButtons
| void SoDialogChoice::addAuditor | ( | SoDialogChoiceAuditor * | auditor | ) |
Adds a dialogChoiceAuditor to the current Choice component.
| void SoDialogChoice::addItem | ( | SbString | newItem | ) |
Convenient method for adding a new item.
| void SoDialogChoice::insertItem | ( | int | index, | |
| SbString | newItem | |||
| ) |
Convenient method for inserting a new item.
| void SoDialogChoice::removeAuditor | ( | SoDialogChoiceAuditor * | auditor | ) |
Removes the specified choiceAuditor from the auditor list.
| void SoDialogChoice::removeItem | ( | int | index | ) |
Convenient method for removing a new item.
List of strings appearing in the component.
items is empty by default.
Selected choice.
Default value is zero, the first item in items.