Echo
SplitPane
Class Hierarchy:

SplitPane component: a pane component which displays two components horizontally or vertically adjacent to one another, optionally allowing the user to apportion space between the two using a resize handle. May have at most two child components. Supports pane components as children.

Class Field Summary
Public ORIENTATION_HORIZONTAL_LEADING_TRAILING
Orientation property value indicating a leading / trailing layout.
Public ORIENTATION_HORIZONTAL_TRAILING_LEADING
Orientation property value indicating a trailing / leading layout.
Public ORIENTATION_HORIZONTAL_LEFT_RIGHT
Orientation property value indicating a left / right layout.
Public ORIENTATION_HORIZONTAL_RIGHT_LEFT
Orientation property value indicating a right / left layout.
Public ORIENTATION_VERTICAL_TOP_BOTTOM
Orientation property value indicating a top / bottom layout.
Public ORIENTATION_VERTICAL_BOTTOM_TOP
Orientation property value indicating a bottom / top layout.
Public DEFAULT_SEPARATOR_POSITION
Default separator position.
Public DEFAULT_SEPARATOR_SIZE_FIXED
Default separator size for fixed SplitPanes.
Public DEFAULT_SEPARATOR_SIZE_RESIZABLE
Default separator size for resizable SplitPanes.
Public DEFAULT_SEPARATOR_COLOR
Default separator color.
Public OVERFLOW_AUTO
Setting for overflow property that scrollbars should be displayed when content overflows.
Public OVERFLOW_HIDDEN
Setting for overflow property indicating that overflowing content should be hidden.
Public OVERFLOW_SCROLL
Setting for overflow property indicating that scrollbars should always be displayed.

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
autoPositioned Boolean flag indicating whether the pane should set the separator position automatically based on size of first child. This feature is only available on vertically oriented panes, where the first child contains non-pane content.
orientation Number the orientation of the SplitPane, one of the following values:
  • ORIENTATION_HORIZONTAL_LEADING_TRAILING (the default)
  • ORIENTATION_HORIZONTAL_TRAILING_LEADING
  • ORIENTATION_HORIZONTAL_LEFT_RIGHT
  • ORIENTATION_HORIZONTAL_RIGHT_LEFT
  • ORIENTATION_VERTICAL_TOP_BOTTOM
  • ORIENTATION_VERTICAL_BOTTOM_TOP
resizable Boolean flag indicating whether the pane separator can be moved
separatorColor Color (String) the separator color
separatorHeight Extent (Number or String) the height of the separator (this property is used to determine the size of the separator in vertical orientations)
separatorHorizontalImage FillImage (String or Object) a FillImage used to paint the separator for horizontal orientations
separatorHorizontalRolloverImage FillImage (String or Object) a FillImage used to paint the separator for horizontal orientations when the mouse is over it
separatorPosition Extent (Number or String) an extent specifying the position of the separator
separatorRolloverColor Color (String) the rollover separator color
separatorVerticalImage FillImage (String or Object) a FillImage used to paint the separator for vertical orientations
separatorVerticalRolloverImage FillImage (String or Object) a FillImage used to paint the separator for vertical orientations when the mouse is over it
separatorWidth Extent (Number or String) the width of the separator (this property is used to determine the size of the separator in horizontal orientations)

Layout Data Properties
These properties may be set on layoutData property values of immediate child components to describe how the child should be rendered within the container.
alignment Alignment (String or Object) the alignment of the child component within its subpane
background Color (String) the background of the child component's subpane
backrgoundImage FillImage (String or Object) the background image of the child component's subpane
insets Insets (Number, String, or Object) the insets margin of the child component's subpane
maximumSize Extent (Number or String) the maximum size of the child component's subpane
minimumSize Extent (Number or String) the minimum size of the child component's subpane
overflow Number the layout behavior to use when the child component is larger than its containing subpane, one of the following values:
  • OVERFLOW_AUTO (the default)
  • OVERFLOW_HIDDEN
  • OVERFLOW_SCROLL