com.google.gwt.user.client.ui
Interface HasVerticalAlignment

All Known Subinterfaces:
HasAlignment
All Known Implementing Classes:
DockPanel, HorizontalPanel, VerticalPanel

public interface HasVerticalAlignment

Characteristic interface which indicates that a widget has an associated vertical alignment.


Nested Class Summary
static class HasVerticalAlignment.VerticalAlignmentConstant
          Horizontal alignment constant.
 
Field Summary
static HasVerticalAlignment.VerticalAlignmentConstant ALIGN_BOTTOM
          Specifies that the widget's contents should be aligned to the bottom.
static HasVerticalAlignment.VerticalAlignmentConstant ALIGN_MIDDLE
          Specifies that the widget's contents should be aligned in the middle.
static HasVerticalAlignment.VerticalAlignmentConstant ALIGN_TOP
          Specifies that the widget's contents should be aligned to the top.
 
Method Summary
 HasVerticalAlignment.VerticalAlignmentConstant getVerticalAlignment()
          Gets the vertical alignment.
 void setVerticalAlignment(HasVerticalAlignment.VerticalAlignmentConstant align)
          Sets the vertical alignment.
 

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

public HasVerticalAlignment.VerticalAlignmentConstant getVerticalAlignment()
Gets the vertical alignment.

Returns:
the current vertical alignment.

setVerticalAlignment

public void setVerticalAlignment(HasVerticalAlignment.VerticalAlignmentConstant align)
Sets the vertical alignment.

Parameters:
align - the vertical alignment ( ALIGN_TOP, ALIGN_MIDDLE, or ALIGN_BOTTOM).


This javadoc distribution was not produced by Google. The official documentation is here.