Protected
optionsReadonly
rendererThe renderer used by the split layout.
Protected
Readonly
splitProtected
widgetGet the content alignment for the split layout.
This is the alignment of the widgets in the layout direction.
The alignment has no effect if the widgets can expand to fill the entire split layout.
Set the content alignment for the split layout.
This is the alignment of the widgets in the layout direction.
The alignment has no effect if the widgets can expand to fill the entire split layout.
Get the fit policy for the layout.
The fit policy controls the computed size constraints which are applied to the parent widget by the layout.
Some layout implementations may ignore the fit policy.
Set the fit policy for the layout.
The fit policy controls the computed size constraints which are applied to the parent widget by the layout.
Some layout implementations may ignore the fit policy.
Changing the fit policy will clear the current size constraint for the parent widget and then re-fit the parent.
A read-only array of the split handles in the layout.
Test whether the layout is disposed.
Protected
itemsGet the layout orientation for the split layout.
Set the layout orientation for the split layout.
Get the inter-element spacing for the split layout.
Set the inter-element spacing for the split layout.
Create an iterator over the widgets in the layout.
A new iterator over the widgets in the layout.
Get the absolute sizes of the widgets in the layout.
A new array of the absolute sizes of the widgets.
This method does not measure the DOM nodes.
Attach a widget to the parent's DOM node.
The current index of the widget in the layout.
Protected
detachDetach a widget from the parent's DOM node.
The previous index of the widget in the layout.
Dispose of the resources held by the layout.
Determine the size of the split panel area that is available for widget content, i.e. excluding part headers and split handles.
Protected
getProtected
getProtected
initPerform layout initialization which requires the parent widget.
Insert a widget into the layout at the specified index.
The index at which to insert the widget.
Move the offset position of a split handle.
The index of the handle of the interest.
Protected
moveMove a widget in the parent's DOM node.
The previous index of the widget in the layout.
The current index of the widget in the layout.
Protected
onA message handler invoked on an 'after-attach'
message.
The default implementation of this method forwards the message to all widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onA message handler invoked on an 'after-detach'
message.
The default implementation of this method forwards the message to all widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onA message handler invoked on an 'after-hide'
message.
The default implementation of this method forwards the message to all non-hidden widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onA message handler invoked on an 'after-show'
message.
The default implementation of this method forwards the message to all non-hidden widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onProtected
onA message handler invoked on a 'before-detach'
message.
The default implementation of this method forwards the message to all widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onA message handler invoked on a 'before-hide'
message.
The default implementation of this method forwards the message to all non-hidden widgets. It assumes all widget nodes are attached to the parent widget node.
This may be reimplemented by subclasses as needed.
Protected
onProtected
onProtected
onA message handler invoked on a 'child-removed'
message.
This will remove the child widget from the layout.
Subclasses should not typically reimplement this method.
Protected
onProtected
onProtected
onProtected
onRemove a widget from the layout.
The widget to remove from the layout.
A widget is automatically removed from the layout when its parent
is set to null
. This method should only be invoked directly when
removing a widget from a layout which has yet to be installed on a
parent widget.
This method does not modify the widget's parent
.
Remove the widget at a given index from the layout.
The index of the widget to remove.
A widget is automatically removed from the layout when its parent
is set to null
. This method should only be invoked directly when
removing a widget from a layout which has yet to be installed on a
parent widget.
This method does not modify the widget's parent
.
An index
which is non-integral.
Set the sizes of the view container parts according to the given weights
by moving the split handles. This is similar to setRelativeSizes
defined
in SplitLayout
, but here we properly consider the collapsed / expanded state.
Set the relative sizes for the widgets in the layout.
The relative sizes for the widgets in the panel.
Optional
update: booleanProtected
tweenSinusoidal tween function for smooth animation.
Update a view container part that has been collapsed or expanded. The transition to the new state is animated.
Protected
updateUpdate the item position.
Item index
Whether the layout is horizontal or not
Left position in pixels
Top position in pixels
Item height
Item width
Item size
A layout which arranges its widgets into resizable sections.