Package com.jgoodies.forms.layout
Class CellConstraints.Alignment
- java.lang.Object
-
- com.jgoodies.forms.layout.CellConstraints.Alignment
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CellConstraints
public static final class CellConstraints.Alignment extends java.lang.Object implements java.io.Serializable
An ordinal-based serializable typesafe enumeration for component alignment types as used by theFormLayout
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
abbreviation()
Returns the first character of this Alignment's name.java.lang.String
toString()
Returns this Alignment's name.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns this Alignment's name.- Overrides:
toString
in classjava.lang.Object
- 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.
-
-