|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.ui.Alignment
public final class Alignment
Class containing information about alignment of a component. Use the pre-instantiated classes.
Field Summary | |
---|---|
static Alignment |
BOTTOM_CENTER
|
static Alignment |
BOTTOM_LEFT
|
static Alignment |
BOTTOM_RIGHT
|
static Alignment |
MIDDLE_CENTER
|
static Alignment |
MIDDLE_LEFT
|
static Alignment |
MIDDLE_RIGHT
|
static Alignment |
TOP_CENTER
|
static Alignment |
TOP_LEFT
|
static Alignment |
TOP_RIGHT
|
Constructor Summary | |
---|---|
Alignment(int bitMask)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
getBitMask()
Returns a bitmask representation of the alignment value. |
String |
getHorizontalAlignment()
Returns string representation of horizontal alignment. |
String |
getVerticalAlignment()
Returns string representation of vertical alignment. |
int |
hashCode()
|
boolean |
isBottom()
Checks if component is aligned to the bottom of the available space. |
boolean |
isCenter()
Checks if component is aligned center (horizontally) of the available space. |
boolean |
isLeft()
Checks if component is aligned to the left of the available space. |
boolean |
isMiddle()
Checks if component is aligned middle (vertically center) of the available space. |
boolean |
isRight()
Checks if component is aligned to the right of the available space. |
boolean |
isTop()
Checks if component is aligned to the top of the available space. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Alignment TOP_RIGHT
public static final Alignment TOP_LEFT
public static final Alignment TOP_CENTER
public static final Alignment MIDDLE_RIGHT
public static final Alignment MIDDLE_LEFT
public static final Alignment MIDDLE_CENTER
public static final Alignment BOTTOM_RIGHT
public static final Alignment BOTTOM_LEFT
public static final Alignment BOTTOM_CENTER
Constructor Detail |
---|
public Alignment(int bitMask)
Method Detail |
---|
public int getBitMask()
public boolean isTop()
public boolean isBottom()
public boolean isLeft()
public boolean isRight()
public boolean isMiddle()
public boolean isCenter()
public String getVerticalAlignment()
public String getHorizontalAlignment()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |