Dialog CheckBoxLauncher node.
More...
#include <DialogViz/dialog/SoDialogCheckBoxLauncher.h>
Public Member Functions | |
| SoDialogCheckBoxLauncher () | |
| void | applyAuditors () |
| SoDialogViz * | searchForAuditorId (SbString id) |
| virtual void | addChild (SoTopLevelDialog *child) |
| virtual void | insertChild (SoTopLevelDialog *child, int newChildIndex) |
| virtual SoNode * | getChild (int index) const |
| virtual int | getNumChildren () const |
| virtual int | findChild (const SoTopLevelDialog *child) const |
| virtual void | removeChild (int index) |
| virtual void | removeChild (SoTopLevelDialog *child) |
| virtual void | removeAllChildren () |
| virtual void | replaceChild (int index, SoTopLevelDialog *newChild) |
| virtual void | replaceChild (SoTopLevelDialog *oldChild, SoTopLevelDialog *newChild) |
Dialog CheckBoxLauncher node.
This node defines a check box component for the dialog with a special built-in behavior: The user can use this node to launch top-level dialog window(s), without defining any specific callback to do it. You can add, insert, and remove top-level dialogs (SoTopLevelDialog) by using addChild(), insertChild() and removeChild() methods.
| // fields from SoDialogCheckBox | |
| state | FALSE |
| onString | "On" |
| offString | "Off" |
| // fields from SoDialogComponent | |
| width | 0 |
| height | 0 |
| fixedWidth | FALSE |
| fixedHeight | FALSE |
| minWidth | 0 |
| maxWidth | 0 |
| minHeight | 0 |
| maxHeight | 0 |
| margin | 0 |
| edgeStyle | NONE |
| labelVisibility | TRUE |
| // fields from SoDialogViz | |
| enable | TRUE |
| label | "" |
| labelAlignment | RIGHT |
| auditorID | "" |
SoDialogCheckBox, SoDialogPushButtonLauncher, SoTopLevelDialog
| SoDialogCheckBoxLauncher::SoDialogCheckBoxLauncher | ( | ) |
Constructor.
| virtual void SoDialogCheckBoxLauncher::addChild | ( | SoTopLevelDialog * | child | ) | [virtual] |
Adds a child as last one in group.
| void SoDialogCheckBoxLauncher::applyAuditors | ( | ) |
Applies all DialogAuditors in the auditor list.
| virtual int SoDialogCheckBoxLauncher::findChild | ( | const SoTopLevelDialog * | child | ) | const [virtual] |
Finds index of given child within group.
Returns -1 if not found.
| virtual SoNode* SoDialogCheckBoxLauncher::getChild | ( | int | index | ) | const [virtual] |
Returns pointer to child node with the given index.
Reimplemented from SoBaseKit.
| virtual int SoDialogCheckBoxLauncher::getNumChildren | ( | ) | const [virtual] |
Returns number of children.
Reimplemented from SoBaseKit.
| virtual void SoDialogCheckBoxLauncher::insertChild | ( | SoTopLevelDialog * | child, | |
| int | newChildIndex | |||
| ) | [virtual] |
Adds a child so that it becomes the one with the given index.
| virtual void SoDialogCheckBoxLauncher::removeAllChildren | ( | ) | [virtual] |
Removes all children from group.
Reimplemented from SoBaseKit.
| virtual void SoDialogCheckBoxLauncher::removeChild | ( | SoTopLevelDialog * | child | ) | [virtual] |
Removes first instance of given child from group.
| virtual void SoDialogCheckBoxLauncher::removeChild | ( | int | index | ) | [virtual] |
Removes child with given index from group.
Reimplemented from SoBaseKit.
| virtual void SoDialogCheckBoxLauncher::replaceChild | ( | SoTopLevelDialog * | oldChild, | |
| SoTopLevelDialog * | newChild | |||
| ) | [virtual] |
Replaces first instance of given child with new child.
| virtual void SoDialogCheckBoxLauncher::replaceChild | ( | int | index, | |
| SoTopLevelDialog * | newChild | |||
| ) | [virtual] |
Replaces child with given index with new child.
| SoDialogViz* SoDialogCheckBoxLauncher::searchForAuditorId | ( | SbString | id | ) |
Retrieves the DialogViz object from the specified auditorID field in an SoDialogCheckBoxLauncher structure.
NULL is returned if auditorID string is not found.