public static enum SoTextProperty.AlignmentHs extends java.lang.Enum<SoTextProperty.AlignmentHs> implements IntegerValuedEnum
Enum Constant and Description |
---|
CENTER
Horizontal centers of all strings are aligned.
|
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 SoTextProperty.AlignmentHs |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoTextProperty.AlignmentHs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoTextProperty.AlignmentHs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoTextProperty.AlignmentHs LEFT
public static final SoTextProperty.AlignmentHs CENTER
public static final SoTextProperty.AlignmentHs RIGHT
public static SoTextProperty.AlignmentHs[] values()
for (SoTextProperty.AlignmentHs c : SoTextProperty.AlignmentHs.values()) System.out.println(c);
public static SoTextProperty.AlignmentHs 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 SoTextProperty.AlignmentHs 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