|
|||||||||
| 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
com.extjs.gxt.ui.client.widget.layout.HBoxLayout
public class HBoxLayout
Lays out it's children in a horizontal row.
Because this layout positions it's children absolutely, the container will have no height. A height must be specified directly or by a parent layout. The vertical position and height of children can be managed by usingsetHBoxLayoutAlign(HBoxLayoutAlign).
| Nested Class Summary | |
|---|---|
static class |
HBoxLayout.HBoxLayoutAlign
|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.layout.BoxLayout |
|---|
BoxLayout.BoxLayoutPack |
| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.widget.layout.BoxLayout |
|---|
innerCt |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Layout |
|---|
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName |
| Constructor Summary | |
|---|---|
HBoxLayout()
|
|
| Method Summary | |
|---|---|
HBoxLayout.HBoxLayoutAlign |
getHBoxLayoutAlign()
Returns the horizontal alignment. |
protected void |
onLayout(Container<?> container,
El target)
|
void |
setHBoxLayoutAlign(HBoxLayout.HBoxLayoutAlign hBoxLayoutAlign)
Sets the vertical alignment for child items (defaults to TOP). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.layout.BoxLayout |
|---|
getPack, getPadding, getScrollOffset, isAdjustForFlexRemainder, setAdjustForFlexRemainder, setPack, setPadding, setScrollOffset |
| 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 |
| Constructor Detail |
|---|
public HBoxLayout()
| Method Detail |
|---|
public HBoxLayout.HBoxLayoutAlign getHBoxLayoutAlign()
public void setHBoxLayoutAlign(HBoxLayout.HBoxLayoutAlign hBoxLayoutAlign)
hBoxLayoutAlign - the vertical alignment
protected void onLayout(Container<?> container,
El target)
onLayout in class BoxLayout
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||