Class ConstantSize.Unit
java.lang.Object
com.jgoodies.forms.layout.ConstantSize.Unit
- All Implemented Interfaces:
Serializable
- Enclosing class:
ConstantSize
An ordinal-based serializable typesafe enumeration for units
as used in instances of
ConstantSize.- Version:
- $Revision: 1.18 $
- Author:
- Karsten Lentzsch
- See Also:
-
Method Summary
-
Method Details
-
toString
-
encode
Returns a parseable string representation of this unit.- Returns:
- a String that can be parsed by the Forms parser
- Since:
- 1.2
-
abbreviation
Returns the first character of this Unit's name. Used to identify it in short format strings.- Returns:
- the first character of this Unit's name.
-