com.google.gwt.user.client.ui.HasVerticalAlignment |
Known Indirect Subclasses
Column<T, C>,
DockPanel,
HasAlignment,
HorizontalPanel,
IdentityColumn<T>,
TextColumn<T>,
VerticalPanel
|
Characteristic interface which indicates that a widget has an associated vertical alignment.
The names of the static members of HasVerticalAlignment.VerticalAlignmentConstant
, as well
as simple alignment names (top
, middle
,
bottom
), can be used as values for a
verticalAlignment
attribute of any widget that implements this
interface. (In fact, this will work for any widget method that takes a single
VerticalAlignmentConstant value.)
For example,
<g:VerticalPanel verticalAlignment='ALIGN_BOTTOM' /> <g:VerticalPanel verticalAlignment='bottom' />
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HasVerticalAlignment.VerticalAlignmentConstant | Horizontal alignment constant. |
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. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the vertical alignment.
| |||||||||||
Sets the vertical alignment.
|
Specifies that the widget's contents should be aligned to the bottom.
Specifies that the widget's contents should be aligned in the middle.
Specifies that the widget's contents should be aligned to the top.
Gets the vertical alignment.
Sets the vertical alignment.
align | the vertical alignment (
ALIGN_TOP ,
ALIGN_MIDDLE , or
ALIGN_BOTTOM ).
|
---|