Java com.google.gwt.user.client.ui DockPanel fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui DockPanel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui DockPanel.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.DockPanel has subclasses.
Click this link to see all its subclasses.

Field

DockLayoutConstantCENTER
Specifies that a widget be added at the center of the dock.
DockLayoutConstantLINE_START
Specifies that a widget be added at the beginning of the line direction for the layout.
DockLayoutConstantLINE_END
Specifies that a widget be added at the end of the line direction for the layout.
DockLayoutConstantEAST
Specifies that a widget be added at the east edge of the dock.
DockLayoutConstantNORTH
Specifies that a widget be added at the north edge of the dock.
DockLayoutConstantSOUTH
Specifies that a widget be added at the south edge of the dock.
DockLayoutConstantWEST
Specifies that a widget be added at the west edge of the dock.

Constructor

DockPanel()
Creates an empty dock panel.

Method

voidadd(Widget widget, DockLayoutConstant direction)
Adds a widget to the specified edge of the dock.
voidadd(IsWidget widget, DockLayoutConstant direction)
Overloaded version for IsWidget.
booleanremove(Widget w)
voidsetCellHeight(Widget w, String height)
voidsetCellHorizontalAlignment(Widget w, HorizontalAlignmentConstant align)
voidsetCellVerticalAlignment(Widget w, VerticalAlignmentConstant align)
voidsetCellWidth(Widget w, String width)
voidsetHorizontalAlignment(HorizontalAlignmentConstant align)
Sets the default horizontal alignment to be used for widgets added to this panel.
voidsetSpacing(int spacing)
Sets the amount of spacing between this panel's cells.
voidsetVerticalAlignment(VerticalAlignmentConstant align)
Sets the default vertical alignment to be used for widgets added to this panel.