Package com.jgoodies.forms.layout
Class CellConstraints.Alignment
java.lang.Object
com.jgoodies.forms.layout.CellConstraints.Alignment
- All Implemented Interfaces:
Serializable
- Enclosing class:
CellConstraints
An ordinal-based serializable typesafe enumeration for component
alignment types as used by the
FormLayout
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private final String
private static int
private final int
private final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar
Returns the first character of this Alignment's name.private boolean
private boolean
private Object
toString()
Returns this Alignment's name.(package private) static CellConstraints.Alignment
-
Field Details
-
HORIZONTAL
private static final int HORIZONTAL- See Also:
-
VERTICAL
private static final int VERTICAL- See Also:
-
BOTH
private static final int BOTH- See Also:
-
name
-
orientation
private final transient int orientation -
nextOrdinal
private static int nextOrdinal -
ordinal
private final int ordinal
-
-
Constructor Details
-
Alignment
-
-
Method Details
-
valueOf
-
toString
Returns this Alignment's name. -
abbreviation
public char abbreviation()Returns the first character of this Alignment's name. Used to identify it in short format strings.- Returns:
- the name's first character.
-
isHorizontal
private boolean isHorizontal() -
isVertical
private boolean isVertical() -
readResolve
-