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.- Version:
- $Revision: 1.15 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final Stringprivate static intprivate final intprivate final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharReturns the first character of this Alignment's name.private booleanprivate booleanprivate ObjecttoString()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
-
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
-