public class PoLabelField extends PoGraphMaster
All numerical values (if there are visible) depend on the current numerical display format. If the method setFormat(format) is called, the current numeric display format is "format". Otherwise the current numeric display format is specified in the current inherited state (cf property node PoNumericDisplayFormat
).
File format/default:
point | 0 0 |
string | "" |
value | 0 |
concatType | STRING_BEFORE_VALUE |
fontSize | 1 |
justification | LEFT |
verticalJustification | BASE |
coordinateType | COORDINATE_IN_CURRENT_UNIT |
Modifier and Type | Class and Description |
---|---|
static class |
PoLabelField.ConcatTypes
Type of string concatenation.
|
static class |
PoLabelField.CoordinateTypes
Type of coordinates.
|
static class |
PoLabelField.Justifications |
static class |
PoLabelField.VerticalJustifications |
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<PoLabelField.ConcatTypes> |
concatType
Concatenation type between values and strings.
|
SoSFEnum<PoLabelField.CoordinateTypes> |
coordinateType
Type of coordinates.
|
SoSFFloat |
fontSize
Font size for strings to display.
|
SoSFEnum<PoLabelField.Justifications> |
justification
Horizontal justification.
|
SoMFVec2f |
point
List of points which are the coordinates of the strings.
|
SoMFString |
string
List of strings to display.
|
SoMFFloat |
value
List of values to display.
|
SoSFEnum<PoLabelField.VerticalJustifications> |
verticalJustification
Vertical justification.
|
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoLabelField()
Default constructor.
|
PoLabelField(SbVec2f[] _point,
java.lang.String[] _string,
float[] _value,
float _fontSize)
Calls PoLabelField(_point, _string, _value, _fontSize, PoLabelField.ConcatTypes.valueOf( PoLabelField.ConcatTypes.STRING_BEFORE_VALUE.getValue() ), PoLabelField.Justifications.valueOf( PoLabelField.Justifications.LEFT.getValue() ), PoLabelField.VerticalJustifications.valueOf( PoLabelField.VerticalJustifications.BASE.getValue() )).
|
PoLabelField(SbVec2f[] _point,
java.lang.String[] _string,
float[] _value,
float _fontSize,
PoLabelField.ConcatTypes type)
Calls PoLabelField(_point, _string, _value, _fontSize, type, PoLabelField.Justifications.valueOf( PoLabelField.Justifications.LEFT.getValue() ), PoLabelField.VerticalJustifications.valueOf( PoLabelField.VerticalJustifications.BASE.getValue() )).
|
PoLabelField(SbVec2f[] _point,
java.lang.String[] _string,
float[] _value,
float _fontSize,
PoLabelField.ConcatTypes type,
PoLabelField.Justifications _justification)
Calls PoLabelField(_point, _string, _value, _fontSize, type, _justification, PoLabelField.VerticalJustifications.valueOf( PoLabelField.VerticalJustifications.BASE.getValue() )).
|
PoLabelField(SbVec2f[] _point,
java.lang.String[] _string,
float[] _value,
float _fontSize,
PoLabelField.ConcatTypes type,
PoLabelField.Justifications _justification,
PoLabelField.VerticalJustifications _verticalJustification)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
PbNumericDisplayFormat |
getFormat()
Gets a reference to a
PbNumericDisplayFormat object for the numeric display format for the values. |
void |
setFormat(PbNumericDisplayFormat format)
Sets a reference to a
PbNumericDisplayFormat object for the numeric display format for the values. |
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoMFVec2f point
public final SoMFString string
public final SoMFFloat value
public final SoSFEnum<PoLabelField.ConcatTypes> concatType
public final SoSFFloat fontSize
public final SoSFEnum<PoLabelField.Justifications> justification
public final SoSFEnum<PoLabelField.VerticalJustifications> verticalJustification
public final SoSFEnum<PoLabelField.CoordinateTypes> coordinateType
PoBase
description),
public PoLabelField(SbVec2f[] _point, java.lang.String[] _string, float[] _value, float _fontSize, PoLabelField.ConcatTypes type)
public PoLabelField(SbVec2f[] _point, java.lang.String[] _string, float[] _value, float _fontSize)
public PoLabelField(SbVec2f[] _point, java.lang.String[] _string, float[] _value, float _fontSize, PoLabelField.ConcatTypes type, PoLabelField.Justifications _justification)
public PoLabelField()
public PoLabelField(SbVec2f[] _point, java.lang.String[] _string, float[] _value, float _fontSize, PoLabelField.ConcatTypes type, PoLabelField.Justifications _justification, PoLabelField.VerticalJustifications _verticalJustification)
public PbNumericDisplayFormat getFormat()
PbNumericDisplayFormat
object for the numeric display format for the values.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.public void setFormat(PbNumericDisplayFormat format)
PbNumericDisplayFormat
object for the numeric display format for the values.
If this method is not called (or called passing NULL as argument), this is the numeric display format defined in the current inherited state (defined with the property node PoNumericDisplayFormat
) which is used.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com