com.google.gwt.user.client.ui
Class FlowPanel
java.lang.Object
com.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
- All Implemented Interfaces:
- EventListener, HasWidgets
- public class FlowPanel
- extends ComplexPanel
A panel that flows all of its child widgets much like text (this is
effectively the default HTML layout panel).
Constructor Summary |
FlowPanel()
Creates an empty flow panel. |
Method Summary |
boolean |
add(Widget w)
Adds a new child widget to the panel. |
boolean |
remove(Widget w)
Removes a widget from the panel. |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
FlowPanel
public FlowPanel()
- Creates an empty flow panel.
add
public boolean add(Widget w)
- Description copied from class:
Panel
- Adds a new child widget to the panel.
- Overrides:
add
in class ComplexPanel
remove
public boolean remove(Widget w)
- Description copied from class:
Panel
- Removes a widget from the panel.
- Overrides:
remove
in class ComplexPanel
This javadoc distribution was not produced by Google. The official documentation is here.