Class idx.layout.DockContainer


Extends idx.layout.BorderContainer.
BorderContainer enabling child widgets docked and undocked (floated or docked in another pane).
Defined in: <idx\layout\DockContainer.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
delay 
Dragging pixel amount before starting undocking.
 
design 
Overrides super-class's default.
 
Topic ID for events being published during undocking/docking operations.
Fields borrowed from class idx.layout.BorderContainer:
delayResize, idxBaseClass, liveSplitters, toggleable, toggleTitles

Method Summary

Method Attributes Method Name and Description
 
addChild(child)
When "dockable" child is added, make it float.
 
Returns only "docked" children, unless "all" is specified to true.
 
Updates size for dock area.
Methods borrowed from class idx.layout.BorderContainer:
collapse, expand, getSplitter, lock, onDragEnd, onDragStart, onPanelClose, onPanelOpen, resize, restore, unlock

Constructor Detail

idx.layout.DockContainer()

Field Detail

{Number} delay

Dragging pixel amount before starting undocking.
Default Value:
10

{String} design

Overrides super-class's default.
Default Value:
"sidebar"

{String} topicId

Topic ID for events being published during undocking/docking operations.
Default Value:
""

Method Detail

addChild(child)

When "dockable" child is added, make it float.
Parameters:
{Object} child

getChildren(all)

Returns only "docked" children, unless "all" is specified to true.
Parameters:
{Boolean} all

layout()

Updates size for dock area.