com.jgoodies.forms.layout

Class CellConstraints.Alignment

Enclosing Class:
CellConstraints
Implemented Interfaces:
Serializable

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

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-2007 JGoodies Karsten Lentzsch. All Rights Reserved.