groupNode

vgl. groupNode

new groupNode() → {vgl.groupNode}

Description:
  • Create a new instance of class groupNode.

Source:
Returns:
Type
vgl.groupNode

Methods

addChild(childNode) → {boolean}

Description:
  • Make the incoming node a child of the group node.

Source:
Parameters:
Name Type Description
childNode vgl.node
Returns:
Type
boolean

children() → {Array.<vgl.node>}

Description:
  • Return children of this group node.

Source:
Returns:
Type
Array.<vgl.node>

hasChild(node) → {boolean}

Description:
  • Return true if this group node has node as a child, false otherwise.

Source:
Parameters:
Name Type Description
node vgl.node
Returns:
Type
boolean

removeChild(childNode) → {boolean}

Description:
  • Remove parent-child relationship between the group and incoming node.

Source:
Parameters:
Name Type Description
childNode vgl.node
Returns:
Type
boolean

removeChildren()

Description:
  • Remove parent-child relationship between child nodes and the group node.

Source: