-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum Alignment extends Enum<Alignment>
Used to define a centering behaviour. Encapsulates VerticalAlignment and HorizontalAlignment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Alignment.Companion
-
Field Summary
Fields Modifier and Type Field Description private final VerticalAlignment
verticalAlignment
private final HorizontalAlignment
horizontalAlignment
private final String
name
private final Integer
ordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTER
Alignment centered horizontally and vertically.
CENTER_RIGHT
Alignment on the right centered vertically.
CENTER_LEFT
Alignment on the left centered vertically.
BOTTOM_CENTER
Alignment on the bottom centered horizontally.
BOTTOM_RIGHT
Alignment in the bottom right corner.
BOTTOM_LEFT
Alignment in the bottom left corner.
TOP_CENTER
Alignment on the top centered horizontally.
TOP_RIGHT
Alignment in the top right corner.
TOP_LEFT
Alignment in the top left corner.
-
Method Summary
Modifier and Type Method Description final VerticalAlignment
getVerticalAlignment()
final HorizontalAlignment
getHorizontalAlignment()
final String
getName()
final Integer
getOrdinal()
-
-
Method Detail
-
getVerticalAlignment
final VerticalAlignment getVerticalAlignment()
-
getHorizontalAlignment
final HorizontalAlignment getHorizontalAlignment()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-