PoXtLabelData Class Reference
[Dialog]

VSG extension Class to define a label. More...

#include <Inventor/dialog/PoXtLabelData.h>

Inheritance diagram for PoXtLabelData:
PoXtElementData

List of all members.

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 PoXtElementDatacopy () const

Detailed Description

VSG extension Class to define a label.

This element is only composed of a string. By default the text of the label is an empty string.

Deprecated:

Deprecated since Open Inventor 8000
Please use DialogViz classes for new development.

Constructor & Destructor Documentation

PoXtLabelData::PoXtLabelData ( const SbString label = "",
unsigned char  alignement = XmALIGNMENT_CENTER 
)

Constructor.

virtual PoXtLabelData::~PoXtLabelData (  )  [virtual]

Destructor.


Member Function Documentation

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.

Non Unicode List:
This function should not be used in a Unicode application.

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/