public class VerticalResizePanel
extends com.google.gwt.user.client.ui.FlowPanel
refreshHeights(). refreshHeights() must always be called when the children of this
container are modified (their content, their size, or visibility), children are added or removed or when the size of
this widget is changed.com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Constructor and Description |
|---|
VerticalResizePanel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onLoad() |
void |
refreshHeights()
Recomputes the heights of the child widgets, setting the appropriate height for the expanded widget.
|
void |
setExpandingWidget(com.google.gwt.user.client.ui.Widget expandingWidget,
boolean needsReload) |
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void setExpandingWidget(com.google.gwt.user.client.ui.Widget expandingWidget,
boolean needsReload)
expandingWidget - the widget that will be expanded expand to vertically fill all remaining height after all
its siblings have been displayedneedsReload - true if the set widget will be reloaded on each size change, false otherwise.
Set this to true if the expanding widget needs to recompute its layout any time its size
changes.public void refreshHeights()
protected void onLoad()
onLoad in class com.google.gwt.user.client.ui.WidgetCopyright © 2004–2015 XWiki. All rights reserved.