Dock manager manages all the dock panels in a hierarchy, similar to Visual Studio.
It owns an HTMLDivElement inside which all panels are docked.
Initially the document manager takes up the central space and acts as the root node.
Methods
public dockDialogDown( referenceNode: DockNode , dialog: Dialog ) : DockNode
Defined in dock-spawn.d.ts:43
Dock the [dialog] below the [referenceNode] node
Parameters
Returns
DockNode
Defined in dock-spawn.d.ts:45
Dock the [dialog] as a tab inside the [referenceNode] node
Parameters
Returns
DockNode
public dockDialogLeft( referenceNode: DockNode , dialog: Dialog ) : DockNode
Defined in dock-spawn.d.ts:37
Dock the [dialog] to the left of the [referenceNode] node
Parameters
Returns
DockNode
public dockDialogRight( referenceNode: DockNode , dialog: Dialog ) : DockNode
Defined in dock-spawn.d.ts:39
Dock the [dialog] to the right of the [referenceNode] node
Parameters
Returns
DockNode
public dockDialogUp( referenceNode: DockNode , dialog: Dialog ) : DockNode
Defined in dock-spawn.d.ts:41
Dock the [dialog] above the [referenceNode] node
Parameters
Returns
DockNode
public dockDown( referenceNode: DockNode , container: PanelContainer , ratio: number ) : DockNode
Defined in dock-spawn.d.ts:54
Dock the [container] below the [referenceNode] node
Parameters
Returns
DockNode
Defined in dock-spawn.d.ts:56
Dock the [container] as a tab inside the [referenceNode] node
Parameters
Returns
DockNode
public dockLeft( referenceNode: DockNode , container: PanelContainer , ratio: number ) : DockNode
Defined in dock-spawn.d.ts:48
Dock the [container] to the left of the [referenceNode] node
Parameters
Returns
DockNode
public dockRight( referenceNode: DockNode , container: PanelContainer , ratio: number ) : DockNode
Defined in dock-spawn.d.ts:50
Dock the [container] to the right of the [referenceNode] node
Parameters
Returns
DockNode
Defined in dock-spawn.d.ts:52
Dock the [container] above the [referenceNode] node
Parameters
Returns
DockNode
public initialize( )
Defined in dock-spawn.d.ts:19
public invalidate( )
Defined in dock-spawn.d.ts:23
public loadState( state: string )
Defined in dock-spawn.d.ts:63
Parameters
public rebuildLayout( node: DockNode )
Defined in dock-spawn.d.ts:21
Parameters
public resize( width: number , height: number )
Defined in dock-spawn.d.ts:25
Parameters
width: number
height: number
public resumeLayout( )
Defined in dock-spawn.d.ts:60
public saveState( ) : string
Defined in dock-spawn.d.ts:62
Returns
string
public setModel( model: DockModel )
Defined in dock-spawn.d.ts:30
Reset the dock model. This happens when state is loaded from JSON.
Parameters
public setRootNode( node: DockNode )
Defined in dock-spawn.d.ts:32
Parameters
public suspendLayout( )
Defined in dock-spawn.d.ts:58