|
|||||||||
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.RowLayout
public class RowLayout
This layout positions the container's children in a single horizontal or vertical row. Each component may specify its height and width in pixels or as percentage.
Each components margin may also be specified using a RowData instance. Only 1 component should specify a margin on adjacent sides.
RowData
Field Summary |
---|
Fields inherited from class com.extjs.gxt.ui.client.widget.Layout |
---|
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName |
Constructor Summary | |
---|---|
RowLayout()
Creates a new vertical row layout. |
|
RowLayout(Style.Orientation orientation)
Creates a new row layout with the given orientation. |
Method Summary | |
---|---|
Style.Orientation |
getOrientation()
Returns the orientation of the layout. |
boolean |
isAdjustForScroll()
Returns true if adjust for scroll is enabled. |
protected void |
layoutHorizontal(El target)
|
protected void |
layoutVertical(El target)
|
protected void |
onLayout(Container<?> container,
El target)
|
void |
setAdjustForScroll(boolean adjustForScroll)
True to adjust the container width calculations to account for the scroll bar (defaults to false). |
void |
setOrientation(Style.Orientation orientation)
Sets the orientation of the layout. |
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 RowLayout()
public RowLayout(Style.Orientation orientation)
orientation
- the orientation of row layoutMethod Detail |
---|
public Style.Orientation getOrientation()
public boolean isAdjustForScroll()
public void setAdjustForScroll(boolean adjustForScroll)
adjustForScroll
- the adjust for scroll statepublic void setOrientation(Style.Orientation orientation)
orientation
- the orientationprotected void layoutHorizontal(El target)
protected void layoutVertical(El target)
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 |