|
||||||||||
| 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.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout
com.sibvisions.rad.ui.web.ext.gxt.layout.GVxFlowLayout
public class GVxFlowLayout
BorderLayout implementation as know in AWT.
| Field Summary | |
|---|---|
static int |
HORIZONTAL
Horizontal orientation. |
static int |
VERTICAL
Vertical orientation. |
| Fields inherited from class com.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout |
|---|
BREAK_LAYOUTING, horizontalGap, margins, verticalGap |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Layout |
|---|
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName |
| Fields inherited from interface com.sibvisions.rad.ui.web.ext.gwt.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
GVxFlowLayout()
Constructs a new GVxFormLayout. |
|
GVxFlowLayout(int pOrientation)
Constructs a new GVxFormLayout. |
|
| Method Summary | |
|---|---|
int |
getComponentAlignment()
Gets the alignment between the components. |
int |
getHorizontalAlignment()
Returns the alignment along the x axis. |
int |
getOrientation()
Gets the orientation of this flow layout. |
Size |
getPreferredSize(Container<?> pContainer)
Calculates the preferred size of the container. |
int |
getVerticalAlignment()
Returns the alignment along the y axis. |
protected void |
onLayout(Container<?> pContainer,
El pTarget)
Layouts the given container. |
void |
setComponentAlignment(int pComponentAlignment)
Sets the alignment between the components. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. |
void |
setOrientation(int pOrientation)
Sets the orientation of this flow layout. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. |
| Methods inherited from class com.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout |
|---|
clearCache, configureTarget, getBorderMargins, getHorizontalGap, getMargins, getPreferredSize, getPreferredSizeIntern, getVerticalGap, setHorizontalGap, setMargins, setSize, setVerticalGap |
| 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 |
|---|
public static final int HORIZONTAL
public static final int VERTICAL
| Constructor Detail |
|---|
public GVxFlowLayout()
public GVxFlowLayout(int pOrientation)
pOrientation - the orientation.| Method Detail |
|---|
public int getHorizontalAlignment()
getHorizontalAlignment in interface IAlignmentConstantspublic void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment in interface IAlignmentConstantspHorizontalAlignment - the new vertical alignmentpublic int getVerticalAlignment()
getVerticalAlignment in interface IAlignmentConstantspublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantspVerticalAlignment - the new vertical alignmentpublic int getOrientation()
HORIZONTAL or VERTICAL.
public void setOrientation(int pOrientation)
HORIZONTAL or VERTICAL.
pOrientation - the orientation.public int getComponentAlignment()
public void setComponentAlignment(int pComponentAlignment)
pComponentAlignment - the component alignment.
protected void onLayout(Container<?> pContainer,
El pTarget)
onLayout in class LayoutpContainer - the container.pTarget - the target.public Size getPreferredSize(Container<?> pContainer)
getPreferredSize in interface IPreferredSizeLayoutpContainer - the container.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||