|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.brunchboy.util.swing.relativelayout.AttributeAxis
A typesafe enumeration of the axes on which attributes exist
within a RelativeLayout. This class is immutable, and thus may
be safely shared without concern for threading behavior.
| Field Summary | |
static AttributeAxis |
HORIZONTAL
Axis on which the attributes left, right, width and horizontalCenter apply. |
static String |
VERSION
Provides access to the CVS version of this class. |
static AttributeAxis |
VERTICAL
Axis on which the attributes top, bottom,height and verticalCenter apply. |
| Method Summary | |
static AttributeAxis |
getInstance(String name)
Static factory method to look up an axis by name. |
String |
toString()
Provide a textual representation of the axis for debugging purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String VERSION
public static final AttributeAxis HORIZONTAL
public static final AttributeAxis VERTICAL
| Method Detail |
public static AttributeAxis getInstance(String name)
name - the name of the desired axis.
NoSuchElementException - if the desired axis doesn't exist.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||