com.jgoodies.forms.layout

Class CellConstraints.Alignment

public static final class CellConstraints.Alignment extends Object implements Serializable

An ordinal-based serializable typesafe enumeration for component alignment types as used by the FormLayout.
Method Summary
charabbreviation()
Returns the first character of this Alignment's name.
StringtoString()
Returns this Alignment's name.

Method Detail

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.

toString

public String toString()
Returns this Alignment's name.

Returns: this alignment's name.

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