public void add(Widget widget, DockLayoutConstant direction)(Code)
Adds a widget to the specified edge of the dock. If the widget is already a
child of this panel, this method behaves as though
DockPanel.remove(Widget) had already been called.
Parameters: widget - the widget to be added Parameters: direction - the widget's direction in the dock throws: IllegalArgumentException - when adding to the DockPanel.CENTER andthere is already a different widget there
getHorizontalAlignment
public HorizontalAlignmentConstant getHorizontalAlignment()(Code)
getVerticalAlignment
public VerticalAlignmentConstant getVerticalAlignment()(Code)
getWidgetDirection
public DockLayoutConstant getWidgetDirection(Widget w)(Code)
Gets the layout direction of the given child widget.
Parameters: w - the widget to be queried the widget's layout direction, or null if it is nota child of this panel