SplitLayoutPanel instead, but understand that it is
not a drop in replacement for this class. It requires standards
mode, and is most easily used under a RootLayoutPanel (as
opposed to a RootPanel@Deprecated public final class VerticalSplitPanel extends SplitPanel
VerticalSplitterPanel will be automatically decorated with
scrollbars when necessary.
This widget will only work in quirks mode. If your application is in
Standards Mode, use SplitLayoutPanel instead.
SplitLayoutPanel| Modifier and Type | Class and Description |
|---|---|
static interface |
VerticalSplitPanel.Resources
Deprecated.
The default resources used by this widget.
|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasWidgets.ForIsWidgeteventsToSinkDEBUG_ID_PREFIX, MISSING_ELEMENT_ERROR, SETELEMENT_TWICE_ERROR| Constructor and Description |
|---|
VerticalSplitPanel()
Deprecated.
|
VerticalSplitPanel(VerticalSplitPanel.Resources resources)
Deprecated.
|
VerticalSplitPanel(VerticalSplitPanelImages images)
Deprecated.
replaced by
VerticalSplitPanel(Resources) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
getBottomWidget()
Deprecated.
Gets the widget in the bottom of the panel.
|
Widget |
getTopWidget()
Deprecated.
Gets the widget in the top of the panel.
|
protected void |
onEnsureDebugId(java.lang.String baseID)
Deprecated.
Affected Elements:
-splitter = the container containing the splitter element.
-top = the container above the splitter.
-bottom = the container below the splitter.
|
protected void |
onLoad()
Deprecated.
This method is called immediately after a widget becomes attached to the
browser's document.
|
(package private) void |
onSplitterResize(int x,
int y)
Deprecated.
Called on each mouse drag event as the user is dragging the splitter.
|
(package private) void |
onSplitterResizeStarted(int x,
int y)
Deprecated.
Called when the user starts dragging the splitter.
|
protected void |
onUnload()
Deprecated.
This method is called immediately before a widget will be detached from the
browser's document.
|
void |
setBottomWidget(Widget w)
Deprecated.
Sets the widget in the bottom of the panel.
|
void |
setHeight(java.lang.String height)
Deprecated.
Sets the object's height.
|
void |
setSplitPosition(java.lang.String pos)
Deprecated.
Moves the position of the splitter.
|
void |
setTopWidget(Widget w)
Deprecated.
Sets the widget in the top of the panel.
|
add, addAbsolutePositoning, addClipping, addScrolling, expandToFitParentUsingCssOffsets, expandToFitParentUsingPercentages, getElement, getOffsetHeight, getOffsetWidth, getSplitElement, getWidget, isResizing, iterator, onBrowserEvent, preventBoxStyles, remove, setBottom, setClassname, setHeight, setLeft, setRight, setTop, setWidget, setWidthadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, ensureHandlers, fireEvent, getHandlerCount, getHandlerManager, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, removeFromParent, replaceElement, setLayoutData, setParent, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic VerticalSplitPanel()
@Deprecated public VerticalSplitPanel(VerticalSplitPanelImages images)
VerticalSplitPanel(Resources)public VerticalSplitPanel(VerticalSplitPanel.Resources resources)
public Widget getBottomWidget()
null if there is not onepublic Widget getTopWidget()
null if there is not onepublic void setBottomWidget(Widget w)
w - the widgetpublic void setHeight(java.lang.String height)
UIObjectpublic void setSplitPosition(java.lang.String pos)
SplitPanelsetSplitPosition in class SplitPanelpos - the new size of the left region in CSS units (e.g. "10px",
"1em")public void setTopWidget(Widget w)
w - the widgetprotected void onEnsureDebugId(java.lang.String baseID)
onEnsureDebugId in class SplitPanelbaseID - the base ID used by the main elementUIObject.onEnsureDebugId(String)protected void onLoad()
Widgetprotected void onUnload()
Widgetvoid onSplitterResize(int x,
int y)
SplitPanelonSplitterResize in class SplitPanelx - the x coordinate of the mouse relative to the panel's extenty - the y coordinate of the mosue relative to the panel's extentvoid onSplitterResizeStarted(int x,
int y)
SplitPanelonSplitterResizeStarted in class SplitPanelx - the x coordinate of the mouse relative to the panel's extenty - the y coordinate of the mouse relative to the panel's extent