Remoto - VFS: splitter Class Reference
Remoto - VFS

Create a splitter. More...

#include "remoto!stdlib:js/paneManager/paneManager.js"

Public Member Functions

 splitter (layout)
 
 activate ()
 DOCME. More...
 
 attach ()
 Attach the splitter's children. More...
 
 containsTabsOtherThan (t)
 
 createChildren (children)
 
 createHTML ()
 
 deactivate ()
 Deactivate this element and call deactivate on all its children. More...
 
 destroy ()
 DOCME. More...
 
 detach ()
 Detach the splitter's children. More...
 
 find (p, type)
 
 handleFunction (e)
 
 mergeOut (child)
 
 replaceChild (oldChild, newChild)
 
 resize ()
 DOCME. More...
 
 saveLayout ()
 

Detailed Description

Create a splitter.

A splitter creates a series of horizontal or vertical regions to be mounted within another region of the paneManager.

Any number of children can exist in a splitter. Their sizes are defined by the layout.sizes array, which must contain css values for each child defined in layout.children. If layout.sizes is shorter than layout.children, a default null will be used. Any null size will effectively be an expandable region that will be resolved after all other values are calculated.

Possible splitter layout flags:

  • name : used if this splitter is mounted into a tab layout
  • icon : used if mounted into a tab layout
  • title : a toolbar tip that will appear
  • stacking : "horizontal" or "vertical"
  • handles : boolean show handles splitting the panes?
  • sizes : an array of css sizes for children
  • classes : an array of classes to apply to each child
  • fixedSize : are the panes of the splitter resizable? The handles can be visible but not resizable.
  • children : an array of child layouts.

Constructor & Destructor Documentation

◆ splitter()

splitter (   layout)
Parameters
layoutDOCME

Member Function Documentation

◆ activate()

activate ( )

DOCME.

◆ attach()

attach ( )

Attach the splitter's children.

Calls attach on each element in the child list. This is used for sub-layouts when a wrapping layout changes.

◆ containsTabsOtherThan()

containsTabsOtherThan (   t)
Parameters
t
Returns

DOCME

◆ createChildren()

createChildren (   children)
Parameters
children
Returns

DOCME

◆ createHTML()

createHTML ( )
Returns

DOCME

◆ deactivate()

deactivate ( )

Deactivate this element and call deactivate on all its children.

◆ destroy()

destroy ( )

DOCME.

◆ detach()

detach ( )

Detach the splitter's children.

Calls detach on each element in the child list.

◆ find()

find (   p,
  type 
)
Parameters
p
type
Returns

DOCME

◆ handleFunction()

handleFunction (   e)
Parameters
e
Returns

DOCME

◆ mergeOut()

mergeOut (   child)
Parameters
child
Returns

DOCME

◆ replaceChild()

replaceChild (   oldChild,
  newChild 
)
Parameters
oldChild
newChild
Returns

DOCME

◆ resize()

resize ( )

DOCME.

◆ saveLayout()

saveLayout ( )
Returns

DOCME


The documentation for this class was generated from the following file: