Package org.polyfrost.polyui.unit
Enum Align.Main
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum Align.Main extends Enum<Align.Main>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<Align.Main>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description StartItems are packed in order they are added from the start of the row.
CenterItems are packed in the order they are added, but they are centered on each row.
EndItems are packed in the order they are added, but they are packed from the end of each row.
SpaceBetweenItems are packed so the last items each touch the ends of the row.
SpaceEvenlyItems are packed so the space between each item and the edges is equal.
-
Method Summary
Modifier and Type Method Description final Align.MainvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Align.Main>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<Align.Main>getEntries()-
-
Method Detail
-
valueOf
final Align.Main 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.Main> 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.Main> getEntries()
-
-
-
-