public final class Alignment extends Enum
Modifier and Type | Field and Description |
---|---|
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..
|
Modifier and Type | Method and Description |
---|---|
static Alignment |
decode(java.io.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.
|
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
public static Alignment[] getAlignments()
public static Alignment[] getHorizontalAlignments()
public static Alignment[] getVerticalAlignments()
public static Alignment decode(java.io.ObjectInputStream in) throws java.io.IOException
in
- the stream containing the alignmentjava.io.IOException
- if there is a stream error