|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.Layout
com.extjs.gxt.ui.client.widget.layout.FlowLayout
public class FlowLayout
Layout that simply renders each child component into its
container. The size and position of children are not altered by this layout.
| Constructor Summary | |
|---|---|
FlowLayout()
Creates a new layout instance. |
|
FlowLayout(boolean removePostioning)
Creates a new flow layout. |
|
FlowLayout(int margin)
Creates a new layout instance with the given margin. |
|
| Method Summary | |
|---|---|
Margins |
getMargins()
Returns the margins of the layout. |
boolean |
getRemovePositioning()
Returns true if positioning is being removed. |
void |
setMargin(int margin)
Sets the margins using the give margin. |
void |
setMargins(Margins margins)
Sets the margins of the layout to be applied to the container. |
void |
setRemovePositioning(boolean removePositioning)
True to remove positioning from the container's children (defaults to false). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.Layout |
|---|
getExtraStyle, getResizeDelay, isRenderHidden, layout, setContainer, setExtraStyle, setRenderHidden, setResizeDelay |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowLayout()
public FlowLayout(boolean removePostioning)
removePostioning - true to remove positioning on child componentspublic FlowLayout(int margin)
margin - the margin| Method Detail |
|---|
public Margins getMargins()
public boolean getRemovePositioning()
public void setMargin(int margin)
margin - the marginpublic void setMargins(Margins margins)
margins - the margins in pixelspublic void setRemovePositioning(boolean removePositioning)
removePositioning - true to remove positioning
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||