Abstract class to define an Xt element.
More...
#include <Inventor/dialog/PoXtElementData.h>
Public Types | |
| enum | TypeXtElement { INTEGER_SLIDER, REAL_SLIDER, TRIGGER_BUTTON, CHOICE_BUTTON, TOGGLE_BUTTON, EDITABLE_TEXT, LABEL, OTHERS } |
Public Member Functions | |
| virtual | ~PoXtElementData () |
| virtual TypeXtElement | getType () const |
| virtual PoXtElementData * | copy () const =0 |
| void | setID (int ident) |
| int | getID () const |
Abstract class to define an Xt element.
| virtual PoXtElementData::~PoXtElementData | ( | ) | [virtual] |
Destructor.
| virtual PoXtElementData* PoXtElementData::copy | ( | ) | const [pure virtual] |
Creates and returns a new Xt element which is a copy of this Xt element.
Implemented in PoXtChoiceButtonData, PoXtEditTextData, PoXtIntSliderData, PoXtLabelData, PoXtRealSliderData, PoXtToggleButtonData, and PoXtTriggerButtonData.
| int PoXtElementData::getID | ( | ) | const |
Gets the integer that identify the Xt element.
| virtual TypeXtElement PoXtElementData::getType | ( | ) | const [inline, virtual] |
Returns the type of the Xt element.
Reimplemented in PoXtChoiceButtonData, PoXtEditTextData, PoXtIntSliderData, PoXtLabelData, PoXtRealSliderData, PoXtSliderData, PoXtToggleButtonData, and PoXtTriggerButtonData.
| void PoXtElementData::setID | ( | int | ident | ) |
Sets an identifier.
It allows the application to store an integer in order to identify the Xt element.