|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Alignment
public class Alignment
A property object which describes the alignment or positioning of a particular item relative to others.
Field Summary | |
---|---|
static Alignment |
ALIGN_BOTTOM
A predefined alignment instance specifying default horizontal alignment and bottom vertical alignment. |
static Alignment |
ALIGN_CENTER
A predefined alignment instance specifying center horizontal alignment and default vertical alignment. |
static Alignment |
ALIGN_LEFT
A predefined alignment instance specifying left horizontal alignment and default vertical alignment. |
static Alignment |
ALIGN_RIGHT
A predefined alignment instance specifying right horizontal alignment and default vertical alignment. |
static Alignment |
ALIGN_TOP
A predefined alignment instance specifying default horizontal alignment and top vertical alignment. |
static int |
BOTTOM
Specifies bottom alignment. |
static int |
CENTER
Specifies center alignment. |
static int |
DEFAULT
Specifies default alignment. |
static int |
LEADING
Specifies leading alignment (left in LTR languages, right in RTL languages). |
static int |
LEFT
Specifies left alignment. |
static int |
RIGHT
Specifies right alignment. |
static int |
TOP
Specifies top alignment. |
static int |
TRAILING
Specifies trailing alignment (right in LTR languages, left in RTL languages). |
Constructor Summary | |
---|---|
Alignment(int horizontal,
int vertical)
Creates a new Alignment . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getHorizontal()
Returns the horizontal setting of this Alignment . |
int |
getVertical()
Returns the vertical setting of this Alignment . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Alignment ALIGN_LEFT
public static final Alignment ALIGN_CENTER
public static final Alignment ALIGN_RIGHT
public static final Alignment ALIGN_TOP
public static final Alignment ALIGN_BOTTOM
public static final int DEFAULT
public static final int LEADING
public static final int TRAILING
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int TOP
public static final int BOTTOM
Constructor Detail |
---|
public Alignment(int horizontal, int vertical)
Alignment
.
horizontal
- The horizontal alignment setting, one of the
following values:
DEFAULT
LEADING
TRAILING
LEFT
CENTER
RIGHT
vertical
- The vertical alignment setting, one of the
following values:
DEFAULT
TOP
CENTER
BOTTOM
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int getHorizontal()
Alignment
.
Alignment
,
one of the following values:
DEFAULT
LEADING
TRAILING
LEFT
CENTER
RIGHT
public int getVertical()
Alignment
.
Alignment
,
one of the following values:
DEFAULT
TOP
CENTER
BOTTOM
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |