com.jgoodies.forms.layout

Class FormSpec.DefaultAlignment

public static final class FormSpec.DefaultAlignment extends Object implements Serializable

An ordinal-based serializable typesafe enumeration for the column and row default alignment types.
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.