com.jgoodies.forms.layout
Class ConstantSize.Unit

java.lang.Object
  extended by com.jgoodies.forms.layout.ConstantSize.Unit
All Implemented Interfaces:
Serializable
Enclosing class:
ConstantSize

public static final class ConstantSize.Unit
extends Object
implements Serializable

An ordinal-based serializable typesafe enumeration for units as used in instances of ConstantSize.

See Also:
Serialized Form

Method Summary
 String abbreviation()
          Returns the first character of this Unit's name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

abbreviation

public String 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.


Copyright © 2002-2007 JGoodies Karsten Lentzsch. All Rights Reserved.