Example usage for Java com.google.gwt.user.client.ui DockPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
DockLayoutConstant | CENTER Specifies that a widget be added at the center of the dock. |
DockLayoutConstant | LINE_START Specifies that a widget be added at the beginning of the line direction for the layout. |
DockLayoutConstant | LINE_END Specifies that a widget be added at the end of the line direction for the layout. |
DockLayoutConstant | EAST Specifies that a widget be added at the east edge of the dock. |
DockLayoutConstant | NORTH Specifies that a widget be added at the north edge of the dock. |
DockLayoutConstant | SOUTH Specifies that a widget be added at the south edge of the dock. |
DockLayoutConstant | WEST Specifies that a widget be added at the west edge of the dock. |
DockPanel() Creates an empty dock panel. |
void | add(Widget widget, DockLayoutConstant direction) Adds a widget to the specified edge of the dock. |
void | add(IsWidget widget, DockLayoutConstant direction) Overloaded version for IsWidget. |
boolean | remove(Widget w) |
void | setCellHeight(Widget w, String height) |
void | setCellHorizontalAlignment(Widget w, HorizontalAlignmentConstant align) |
void | setCellVerticalAlignment(Widget w, VerticalAlignmentConstant align) |
void | setCellWidth(Widget w, String width) |
void | setHorizontalAlignment(HorizontalAlignmentConstant align) Sets the default horizontal alignment to be used for widgets added to this panel. |
void | setSpacing(int spacing) Sets the amount of spacing between this panel's cells. |
void | setVerticalAlignment(VerticalAlignmentConstant align) Sets the default vertical alignment to be used for widgets added to this panel. |