|
|||||||||
| 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. |
| Field Summary | |
|---|---|
protected El |
innerCt
|
| Fields inherited from class com.extjs.gxt.ui.client.widget.Layout |
|---|
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName |
| 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. |
protected void |
onLayout(Container<?> container,
El target)
|
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 |
|---|
applyMargins, applyPadding, callLayout, fly, fly, getExtraStyle, getLayoutData, getResizeDelay, getSideMargins, initTarget, isLayoutExecuted, isLayoutNeeded, isRenderHidden, isRunning, isValidParent, layout, layoutContainer, onAdd, onComponentHide, onComponentShow, onRemove, onResize, renderAll, renderComponent, setBounds, setContainer, setExtraStyle, setLayoutData, setLayoutNeeded, setLayoutOnChange, setPosition, setRenderHidden, setResizeDelay, setSize |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected El innerCt
| 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
protected void onLayout(Container<?> container,
El target)
onLayout in class Layout
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||