|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.util.Enum
net.infonode.util.Alignment
An enum class for alignments, left, center, right, top, bottom.
Field Summary | |
static Alignment[] |
ALIGNMENTS
Array containing all alignments.. |
static Alignment |
BOTTOM
Bottom alignment. |
static Alignment |
CENTER
Center alignment. |
static Alignment[] |
HORIZONTAL_ALIGNMENTS
Array containing all horizontal alignments.. |
static Alignment |
LEFT
Left alignment. |
static Alignment |
RIGHT
Right alignment. |
static Alignment |
TOP
Top alignment. |
static Alignment[] |
VERTICAL_ALIGNMENTS
Array containing all vertical alignments.. |
Method Summary | |
static Alignment |
decode(ObjectInputStream in)
Decodes an alignment from a stream. |
static Alignment[] |
getAlignments()
Gets the alignments. |
static Alignment[] |
getHorizontalAlignments()
Gets the horizontal alignments. |
static Alignment[] |
getVerticalAlignments()
Gets the vertical alignments. |
Methods inherited from class net.infonode.util.Enum |
getName, getValue, toString, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Alignment LEFT
public static final Alignment CENTER
public static final Alignment RIGHT
public static final Alignment TOP
public static final Alignment BOTTOM
public static final Alignment[] ALIGNMENTS
public static final Alignment[] HORIZONTAL_ALIGNMENTS
public static final Alignment[] VERTICAL_ALIGNMENTS
Method Detail |
public static Alignment[] getAlignments()
public static Alignment[] getHorizontalAlignments()
public static Alignment[] getVerticalAlignments()
public static Alignment decode(ObjectInputStream in) throws IOException
in
- the stream containing the alignment
IOException
- if there is a stream error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |