Class VerticalSplitPanel

  • All Implemented Interfaces:
    HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IsWidget, java.lang.Iterable<Widget>

    @Deprecated
    public final class VerticalSplitPanel
    extends SplitPanel
    Deprecated.
    Use 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
    A panel that arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the height dedicated to each of the two widgets. Widgets contained within a 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.

    CSS Style Rules

    • .gwt-VerticalSplitPanel { the panel itself }
    • .gwt-VerticalSplitPanel vsplitter { the splitter }
    See Also:
    SplitLayoutPanel
    • Method Detail

      • getBottomWidget

        public Widget getBottomWidget()
        Deprecated.
        Gets the widget in the bottom of the panel.
        Returns:
        the widget, null if there is not one
      • getTopWidget

        public Widget getTopWidget()
        Deprecated.
        Gets the widget in the top of the panel.
        Returns:
        the widget, null if there is not one
      • setBottomWidget

        public void setBottomWidget​(Widget w)
        Deprecated.
        Sets the widget in the bottom of the panel.
        Parameters:
        w - the widget
      • setHeight

        public void setHeight​(java.lang.String height)
        Deprecated.
        Description copied from class: UIObject
        Sets the object's height. This height does not include decorations such as border, margin, and padding.
        Overrides:
        setHeight in class UIObject
        Parameters:
        height - the object's new height, in CSS units (e.g. "10px", "1em")
      • setSplitPosition

        public void setSplitPosition​(java.lang.String pos)
        Deprecated.
        Description copied from class: SplitPanel
        Moves the position of the splitter.
        Specified by:
        setSplitPosition in class SplitPanel
        Parameters:
        pos - the new size of the left region in CSS units (e.g. "10px", "1em")
      • setTopWidget

        public void setTopWidget​(Widget w)
        Deprecated.
        Sets the widget in the top of the panel.
        Parameters:
        w - the widget
      • onEnsureDebugId

        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.
        Overrides:
        onEnsureDebugId in class SplitPanel
        Parameters:
        baseID - the base ID used by the main element
        See Also:
        UIObject.onEnsureDebugId(String)
      • onLoad

        protected void onLoad()
        Deprecated.
        Description copied from class: Widget
        This method is called immediately after a widget becomes attached to the browser's document.
        Overrides:
        onLoad in class Widget
      • onUnload

        protected void onUnload()
        Deprecated.
        Description copied from class: Widget
        This method is called immediately before a widget will be detached from the browser's document.
        Overrides:
        onUnload in class Widget
      • onSplitterResize

        void onSplitterResize​(int x,
                              int y)
        Deprecated.
        Description copied from class: SplitPanel
        Called on each mouse drag event as the user is dragging the splitter.
        Specified by:
        onSplitterResize in class SplitPanel
        Parameters:
        x - the x coordinate of the mouse relative to the panel's extent
        y - the y coordinate of the mosue relative to the panel's extent
      • onSplitterResizeStarted

        void onSplitterResizeStarted​(int x,
                                     int y)
        Deprecated.
        Description copied from class: SplitPanel
        Called when the user starts dragging the splitter.
        Specified by:
        onSplitterResizeStarted in class SplitPanel
        Parameters:
        x - the x coordinate of the mouse relative to the panel's extent
        y - the y coordinate of the mouse relative to the panel's extent