net.infonode.util
public final class Alignment extends Enum
Version: $Revision: 1.5 $
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.
|
Parameters: in the stream containing the alignment
Returns: the alignment
Throws: IOException if there is a stream error
Returns: the alignments
Since: 1.1.0
Returns: the horizontal alignments
Since: 1.1.0
Returns: the vertical alignments
Since: 1.1.0