We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.gwt.client.ui.
Class AlignmentInfo
java.lang.Object
com.vaadin.terminal.gwt.client.ui.AlignmentInfo
- extends Object
public final class AlignmentInfo
Nested Class Summary | |
---|---|
static class |
AlignmentInfo.Bits
Bitmask values for client server communication |
Field Summary | |
---|---|
static AlignmentInfo |
BOTTOM
|
static AlignmentInfo |
CENTER
|
static AlignmentInfo |
LEFT
|
static AlignmentInfo |
MIDDLE
|
static AlignmentInfo |
RIGHT
|
static AlignmentInfo |
TOP
|
static AlignmentInfo |
TOP_LEFT
|
Constructor Summary | |
---|---|
AlignmentInfo(AlignmentInfo horizontal,
AlignmentInfo vertical)
|
|
AlignmentInfo(int bitMask)
|
Method Summary | |
---|---|
int |
getBitMask()
|
String |
getHorizontalAlignment()
|
String |
getVerticalAlignment()
|
boolean |
isBottom()
|
boolean |
isHorizontalCenter()
|
boolean |
isLeft()
|
boolean |
isRight()
|
boolean |
isTop()
|
boolean |
isVerticalCenter()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
LEFT
public static final AlignmentInfo LEFT
RIGHT
public static final AlignmentInfo RIGHT
TOP
public static final AlignmentInfo TOP
BOTTOM
public static final AlignmentInfo BOTTOM
CENTER
public static final AlignmentInfo CENTER
MIDDLE
public static final AlignmentInfo MIDDLE
TOP_LEFT
public static final AlignmentInfo TOP_LEFT
Constructor Detail |
---|
AlignmentInfo
public AlignmentInfo(int bitMask)
AlignmentInfo
public AlignmentInfo(AlignmentInfo horizontal,
AlignmentInfo vertical)
Method Detail |
---|
getBitMask
public int getBitMask()
isTop
public boolean isTop()
isBottom
public boolean isBottom()
isLeft
public boolean isLeft()
isRight
public boolean isRight()
isVerticalCenter
public boolean isVerticalCenter()
isHorizontalCenter
public boolean isHorizontalCenter()
getVerticalAlignment
public String getVerticalAlignment()
getHorizontalAlignment
public String getHorizontalAlignment()