|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
A panel that formats its child widgets using the default HTML layout behavior.
Constructor Summary | |
FlowPanel()
Creates an empty flow panel. |
Method Summary | |
void |
add(Widget w)
Adds a new child widget to the panel. |
void |
insert(Widget w,
int beforeIndex)
Inserts a widget before the specified index. |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
adopt, clear, disown, onAttach, onDetach |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
getParent, isAttached, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getTitle, isVisible, isVisible, removeStyleName, resetStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FlowPanel()
Method Detail |
public void add(Widget w)
add
in interface HasWidgets
add
in class Panel
w
- the widget to be addedpublic void insert(Widget w, int beforeIndex)
w
- the widget to be insertedbeforeIndex
- the index before which it will be inserted
java.lang.IndexOutOfBoundsException
- if beforeIndex
is out of
range
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |