|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.AlignmentType
Defines alignment types used in the Common Controls Framework
Field Summary | |
static AlignmentType |
ABSMIDDLE
alignment type: absmiddle |
private static AlignmentType[] |
ALL
Collection with all kinds of alignment types |
static AlignmentType |
BASELINE
alignment type: baseline |
static AlignmentType |
BOTTOM
alignment type: bottom |
static AlignmentType |
CENTER
alignment type: center |
static AlignmentType |
LEFT
alignment type: left |
static AlignmentType |
MIDDLE
alignment type: middle |
static AlignmentType |
RIGHT
alignment type: right |
private static long |
serialVersionUID
Serial Version UID |
static AlignmentType |
TEXTTOP
alignment type: texttop |
static AlignmentType |
TOP
alignment type: top |
private java.lang.String |
type
The internal type |
Constructor Summary | |
private |
AlignmentType(java.lang.String type)
Constructor for AlignmentType |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
int |
hashCode()
|
static AlignmentType |
parse(java.lang.String code)
Creates for the argument an object of type AlignmentType |
java.lang.String |
toString()
Returns the alignment type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final AlignmentType LEFT
public static final AlignmentType RIGHT
public static final AlignmentType CENTER
public static final AlignmentType TOP
public static final AlignmentType TEXTTOP
public static final AlignmentType BOTTOM
public static final AlignmentType BASELINE
public static final AlignmentType ABSMIDDLE
public static final AlignmentType MIDDLE
private java.lang.String type
private static final AlignmentType[] ALL
Constructor Detail |
private AlignmentType(java.lang.String type)
type
- The alignment type to initialize the ObjectMethod Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
obj
- The object to compare this AlignmentType
object against.
true
if the internal types are equal;
false
otherwise.public int hashCode()
Object.hashCode()
public static AlignmentType parse(java.lang.String code)
code
- String to parse
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |