|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.Container<T>
com.extjs.gxt.ui.client.widget.ScrollContainer<Component>
com.extjs.gxt.ui.client.widget.LayoutContainer
com.extjs.gxt.ui.client.widget.VerticalPanel
public class VerticalPanel
A LayoutContainer that lays out its children in a single column using
a TableLayout. Each child widget can control its cell's properties
using an associated TableData instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.widget.Container |
|---|
attachChildren, enableLayout, layoutExecuted, layoutNeeded, layoutOnAttach, layoutOnChange |
| Fields inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustSize, cacheSizes, ensureVisibilityOnSizing, height, lastSize, layer, shim, width |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Component |
|---|
afterRender, attachables, baseStyle, disabled, disabledStyle, disableTextSelection, dummy, focusable, hidden, mask, maskMessage, maskMessageStyleName, monitorWindowResize, rendered, resizeHandler, setElementRender, stateId, swallowEvents, toolTip, windowResizeDelay, windowResizeTask |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
VerticalPanel()
|
|
| Method Summary | |
|---|---|
Style.HorizontalAlignment |
getHorizontalAlign()
Returns the horizontal alignment. |
int |
getSpacing()
Returns the panel's spacing. |
java.lang.String |
getTableHeight()
Returns the table's height. |
java.lang.String |
getTableWidth()
|
Style.VerticalAlignment |
getVerticalAlign()
Returns the vertical alignment. |
protected void |
onRender(com.google.gwt.user.client.Element parent,
int pos)
Subclasses must override and ensure setElement is called for lazy rendered components. |
void |
setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
Sets the horizontal cell alignment (defaults to LEFT). |
void |
setSpacing(int spacing)
Sets the panel's spacing. |
void |
setTableHeight(java.lang.String tableHeight)
Sets the table's height. |
void |
setTableWidth(java.lang.String tableWidth)
Sets the width of the internal table. |
void |
setVerticalAlign(Style.VerticalAlignment verticalAlign)
Sets the vertical cell alignment (defaults to TOP). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.LayoutContainer |
|---|
add, add, addText, findComponent, getLayout, getLayoutTarget, getWindowResizeDelay, insert, insert, isLayoutOnChange, isMonitorWindowResize, layout, layout, onBlur, onComponentEvent, onFocus, remove, removeAll, setLayout, setLayoutData, setLayoutOnChange, setMonitorWindowResize, setWindowResizeDelay |
| Methods inherited from class com.extjs.gxt.ui.client.widget.ScrollContainer |
|---|
addScrollListener, afterRender, getHScrollPosition, getScrollMode, getVScrollPosition, removeScrollListener, scrollIntoView, setHScrollPosition, setScrollMode, setVScrollPosition |
| Methods inherited from class com.extjs.gxt.ui.client.widget.Container |
|---|
add, adjustIndex, adopt, createContainerEvent, disable, doAttachChildren, doDetachChildren, doLayout, doLayout, enable, findItem, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, insert, isLayoutNeeded, iterator, notifyHide, notifyShow, onAfterLayout, onAttach, onBeforeLayoutExcecuted, onInsert, onLayoutExcecuted, onRemove, orphan, remove, remove, removeAll, scrollIntoView, setLayoutNeeded, wrapWidget |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustPosition, adjustSize, createComponentEvent, getBounds, getHeight, getHeight, getPosition, getPositionEl, getResizeEl, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, hideShadow, hideShim, hideUnders, isAutoHeight, isAutoWidth, isDeferHeight, isShim, onHide, onPosition, onResize, onShow, onUnload, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, setLayoutData, unsinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, resolvePotentialElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VerticalPanel()
| Method Detail |
|---|
public Style.HorizontalAlignment getHorizontalAlign()
public int getSpacing()
public java.lang.String getTableHeight()
public java.lang.String getTableWidth()
public Style.VerticalAlignment getVerticalAlign()
public void setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
horizontalAlign - the horizontal alignmentpublic void setSpacing(int spacing)
spacing - the spacingpublic void setTableHeight(java.lang.String tableHeight)
tableHeight - the table heightpublic void setTableWidth(java.lang.String tableWidth)
tableWidth - the table widthpublic void setVerticalAlign(Style.VerticalAlignment verticalAlign)
protected void onRender(com.google.gwt.user.client.Element parent,
int pos)
Component
onRender in class LayoutContainerparent - the target elementpos - the insert location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||