public static enum SoText3.Justifications extends java.lang.Enum<SoText3.Justifications> implements IntegerValuedEnum
Enum Constant and Description |
---|
CENTER
Centers of all strings are aligned.
|
INHERITED
The text justification is inherited from the current
SoTextProperty.alignmentH value. |
LEFT
Left edges of all strings are aligned.
|
RIGHT
Right edges of all strings are aligned.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoText3.Justifications |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoText3.Justifications |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoText3.Justifications[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoText3.Justifications LEFT
public static final SoText3.Justifications CENTER
public static final SoText3.Justifications RIGHT
public static final SoText3.Justifications INHERITED
SoTextProperty.alignmentH
value.public static SoText3.Justifications[] values()
for (SoText3.Justifications c : SoText3.Justifications.values()) System.out.println(c);
public static SoText3.Justifications valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoText3.Justifications valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com