Interface HasVerticalAlignment
public
interface
HasVerticalAlignment
// Extended by
HasAlignment
Characteristic interface which indicates that a widget has an associated
vertical alignment.
Nested Classes
Fields
ALIGN_BOTTOM | Specifies that the widget's contents should be aligned to the bottom. |
ALIGN_MIDDLE | Specifies that the widget's contents should be aligned in the middle. |
ALIGN_TOP | Specifies that the widget's contents should be aligned to the top. |
Methods
Field Detail
ALIGN_BOTTOM
public static final HasVerticalAlignment.VerticalAlignmentConstant ALIGN_BOTTOM
Specifies that the widget's contents should be aligned to the bottom.
ALIGN_MIDDLE
public static final HasVerticalAlignment.VerticalAlignmentConstant ALIGN_MIDDLE
Specifies that the widget's contents should be aligned in the middle.
ALIGN_TOP
public static final HasVerticalAlignment.VerticalAlignmentConstant ALIGN_TOP
Specifies that the widget's contents should be aligned to the top.
Method Detail
getVerticalAlignment
Gets the vertical alignment.
Return Value
the current vertical alignment.
setVerticalAlignment
Sets the vertical alignment.
Parameters
- align
- the vertical alignment (
HasVerticalAlignment.ALIGN_TOP,
HasVerticalAlignment.ALIGN_MIDDLE, or
HasVerticalAlignment.ALIGN_BOTTOM).