Package org.polyfrost.polyui.unit
Enum Align.Mode
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum Align.Mode extends Enum<Align.Mode>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<Align.Mode>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description HorizontalItems are packed from left to right, so the main axis is the x-axis and cross is the y-axis.
VerticalItems are packed from top to bottom, so the main axis is the y-axis and cross is the x-axis.
-
Method Summary
Modifier and Type Method Description final Align.ModevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Align.Mode>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<Align.Mode>getEntries()-
-
Method Detail
-
valueOf
final Align.Mode valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<Align.Mode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Align.Mode> getEntries()
-
-
-
-