com.jgoodies.forms.layout

Class FormSpec.DefaultAlignment

Enclosing Class:
FormSpec
Implemented Interfaces:
Serializable

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

char
abbreviation()
Returns the first character of this Alignment's name.
String
toString()
Returns this Alignment's name.

Method Details

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.