public static enum TextBox.AlignmentH extends java.lang.Enum<TextBox.AlignmentH> implements IntegerValuedEnum
Enum Constant and Description |
---|
CENTER
Center
|
LEFT
Left edge
|
RIGHT
Right edge
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static TextBox.AlignmentH |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextBox.AlignmentH[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextBox.AlignmentH LEFT
public static final TextBox.AlignmentH CENTER
public static final TextBox.AlignmentH RIGHT
public static TextBox.AlignmentH[] values()
for (TextBox.AlignmentH c : TextBox.AlignmentH.values()) System.out.println(c);
public static TextBox.AlignmentH 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 int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com