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
Inventor.ConstructorCommand
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
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, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int LEFT
PoLabelField.Justifications.LEFT
instead.@Deprecated public static final int RIGHT
PoLabelField.Justifications.RIGHT
instead.@Deprecated public static final int CENTER
PoLabelField.Justifications.CENTER
instead.@Deprecated public static final int TOP
PoLabelField.VerticalJustifications.TOP
instead.@Deprecated public static final int CAP
PoLabelField.VerticalJustifications.CAP
instead.@Deprecated public static final int HALF
PoLabelField.VerticalJustifications.HALF
instead.@Deprecated public static final int BASE
PoLabelField.VerticalJustifications.BASE
instead.@Deprecated public static final int BOTTOM
PoLabelField.VerticalJustifications.BOTTOM
instead.@Deprecated public static final int COORDINATE_IN_DOMAIN
PoLabelField.CoordinateTypes.COORDINATE_IN_DOMAIN
instead.@Deprecated public static final int COORDINATE_IN_CURRENT_UNIT
PoLabelField.CoordinateTypes.COORDINATE_IN_CURRENT_UNIT
instead.@Deprecated public static final int STRING_BEFORE_VALUE
PoLabelField.ConcatTypes.STRING_BEFORE_VALUE
instead.@Deprecated public static final int VALUE_BEFORE_STRING
PoLabelField.ConcatTypes.VALUE_BEFORE_STRING
instead.@Deprecated public static final int STRING_ABOVE_VALUE
PoLabelField.ConcatTypes.STRING_ABOVE_VALUE
instead.@Deprecated public static final int VALUE_ABOVE_STRING
PoLabelField.ConcatTypes.VALUE_ABOVE_STRING
instead.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)
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, 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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com