|
|||||||||
| 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.BoxLayout
public abstract class BoxLayout
Base class for box layouts.
Pack config:
| Nested Class Summary | |
|---|---|
static class |
BoxLayout.BoxLayoutPack
BoxLayoutPack enumeration. |
| Constructor Summary | |
|---|---|
BoxLayout()
|
|
| Method Summary | |
|---|---|
BoxLayout.BoxLayoutPack |
getPack()
Returns the layouts pack value. |
Padding |
getPadding()
Returns the padding. |
int |
getScrollOffset()
Returns the scroll offset. |
boolean |
isAdjustForFlexRemainder()
Returns true if the remaining space after flex calculation is applied to the last component being flexed. |
void |
setAdjustForFlexRemainder(boolean adjustForFlexRemainder)
Set to true if the remaining space after flex calculation should be applied to the last component being flexed. |
void |
setPack(BoxLayout.BoxLayoutPack pack)
Sets how the child items of the container are packed together. |
void |
setPadding(Padding padding)
Sets the padding to be applied to all child items managed by this container's layout (defaults to 0). |
void |
setScrollOffset(int scrollOffset)
Sets the scroll offset (defaults to 0). |
| 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, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxLayout()
| Method Detail |
|---|
public Padding getPadding()
public BoxLayout.BoxLayoutPack getPack()
public int getScrollOffset()
public boolean isAdjustForFlexRemainder()
public void setAdjustForFlexRemainder(boolean adjustForFlexRemainder)
adjustForFlexRemainder - true to add the spacepublic void setPack(BoxLayout.BoxLayoutPack pack)
pack - the pack valuepublic void setPadding(Padding padding)
padding - the paddingpublic void setScrollOffset(int scrollOffset)
scrollOffset - the scroll offset
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||