| 
 | ||||||||||
| 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
public final class Alignment
An enum class for alignments, left, center, right, top, bottom.
| Field Summary | |
|---|---|
| static Alignment[] | ALIGNMENTSArray containing all alignments.. | 
| static Alignment | BOTTOMBottom alignment. | 
| static Alignment | CENTERCenter alignment. | 
| static Alignment[] | HORIZONTAL_ALIGNMENTSArray containing all horizontal alignments.. | 
| static Alignment | LEFTLeft alignment. | 
| static Alignment | RIGHTRight alignment. | 
| private static long | serialVersionUID | 
| static Alignment | TOPTop alignment. | 
| static Alignment[] | VERTICAL_ALIGNMENTSArray containing all vertical alignments.. | 
| Constructor Summary | |
|---|---|
| private  | Alignment(int value,
          java.lang.String name) | 
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class net.infonode.util.Enum | 
|---|
| decode, getName, getObject, getValue, readResolve, toString, write | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private static final long serialVersionUID
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
| Constructor Detail | 
|---|
private Alignment(int value,
                  java.lang.String name)
| Method Detail | 
|---|
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 alignment
java.io.IOException - if there is a stream error| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||