| java.lang.Object net.mygwt.ui.client.widget.Layout
All known Subclasses: net.mygwt.ui.client.widget.layout.TableLayout, net.mygwt.ui.client.widget.layout.RowLayout, net.mygwt.ui.client.widget.layout.BorderLayout, net.mygwt.ui.client.widget.layout.FillLayout, net.mygwt.ui.client.widget.layout.StackLayout, net.mygwt.ui.client.widget.layout.FlowLayout,
Method Summary | |
protected boolean | isValidParent(Element elem, Element parent) | public void | layout(WidgetContainer container) Lays out the children of the specified container according to this layout.
This method positions and sizes the children of a container using the
layout algorithm encoded by this layout. | protected void | onLayout(WidgetContainer container, Element target) | protected void | renderAll(Container container, Element target) | protected void | renderWidget(Widget widget, int index, Element target) | protected void | setBounds(Widget w, int x, int y, int width, int height) | protected void | setSize(Widget w, int width, int height) |
isValidParent | protected boolean isValidParent(Element elem, Element parent)(Code) | | |
layout | public void layout(WidgetContainer container)(Code) | | Lays out the children of the specified container according to this layout.
This method positions and sizes the children of a container using the
layout algorithm encoded by this layout. The position of the container is
not altered by this method.
Parameters: container - a container panel using this layout |
renderAll | protected void renderAll(Container container, Element target)(Code) | | |
renderWidget | protected void renderWidget(Widget widget, int index, Element target)(Code) | | |
setBounds | protected void setBounds(Widget w, int x, int y, int width, int height)(Code) | | |
setSize | protected void setSize(Widget w, int width, int height)(Code) | | |
|
|