Class to define a label.
More...
#include <Inventor/dialog/PoXtLabelData.h>
Public Member Functions | |
| PoXtLabelData (const SbString &label="", unsigned char alignement=XmALIGNMENT_CENTER) | |
| virtual | ~PoXtLabelData () |
| SoNONUNICODE void | setLabel (const char *label) |
| void | setLabel (const SbString &label) |
| SbString | getLabel () const |
| virtual TypeXtElement | getType () const |
| virtual PoXtElementData * | copy () const |
Class to define a label.
This element is only composed of a string. By default the text of the label is an empty string.
| PoXtLabelData::PoXtLabelData | ( | const SbString & | label = "", |
|
| unsigned char | alignement = XmALIGNMENT_CENTER | |||
| ) |
Constructor.
| virtual PoXtLabelData::~PoXtLabelData | ( | ) | [virtual] |
Destructor.
| virtual PoXtElementData* PoXtLabelData::copy | ( | ) | const [virtual] |
Creates and returns a new Xt element which is a copy of this Xt element.
Implements PoXtElementData.
| SbString PoXtLabelData::getLabel | ( | ) | const |
Gets the text of the label.
| virtual TypeXtElement PoXtLabelData::getType | ( | ) | const [virtual] |
Returns the type of the Xt element.
Reimplemented from PoXtElementData.
| void PoXtLabelData::setLabel | ( | const SbString & | label | ) |
Sets the text of the label.
| SoNONUNICODE void PoXtLabelData::setLabel | ( | const char * | label | ) |
Sets the text of the label.