Adds a child widget to the panel. If the Widget is already attached to the
HorizontalPanel, it will be moved to the end of the panel.
Parameters: w - the widget to be added
getHorizontalAlignment
public HorizontalAlignmentConstant getHorizontalAlignment()(Code)
getVerticalAlignment
public VerticalAlignmentConstant getVerticalAlignment()(Code)
insert
public void insert(Widget w, int beforeIndex)(Code)
Inserts a widget before the specified index. If the Widget is already
attached to the HorizontalPanel, it will be moved to the specified index.
Parameters: w - the widget to be inserted Parameters: beforeIndex - the index before which it will be inserted throws: IndexOutOfBoundsException - if beforeIndex is out ofrange