Enum Class FlowBox.HorizontalAlignment
java.lang.Object
java.lang.Enum<FlowBox.HorizontalAlignment>
org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
- All Implemented Interfaces:
Serializable
,Comparable<FlowBox.HorizontalAlignment>
,Constable
- Enclosing class:
- FlowBox
Specifies the horizontal alignment of elements inside a
FlowBox
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionElements in a row are aligned in the center, empty space is evently distributed left and right.Space is evenly distributed between elements in a row.Elements in a row are aligned flush left, empty space on the right.Elements in a row are aligned flush right, empty space on the left. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowBox.HorizontalAlignment
Returns the enum constant of this class with the specified name.static FlowBox.HorizontalAlignment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
Elements in a row are aligned flush left, empty space on the right. -
RIGHT
Elements in a row are aligned flush right, empty space on the left. -
CENTER
Elements in a row are aligned in the center, empty space is evently distributed left and right. -
FILL
Space is evenly distributed between elements in a row.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-