Uses of Class
ch.ivyteam.ivy.scripting.objects.Tree
-
Packages that use Tree Package Description ch.ivyteam.ivy.application.calendar ch.ivyteam.ivy.scripting.objects -
-
Uses of Tree in ch.ivyteam.ivy.application.calendar
Methods in ch.ivyteam.ivy.application.calendar that return Tree Modifier and Type Method Description Tree
IBusinessCalendarSettings. getAllBusinessCalendarConfigurations()
Returns an Tree containing allIBusinessCalendarConfiguration
s -
Uses of Tree in ch.ivyteam.ivy.scripting.objects
Methods in ch.ivyteam.ivy.scripting.objects that return Tree Modifier and Type Method Description Tree
Tree. clone()
Clones this tree (shallow copy).Tree
Tree. createChild(Object newValue)
Adds a child to this node.Tree
Tree. createChild(Object newValue, String newInfo)
Adds a child to this node.Tree
Tree. createChildAt(int index, Object newValue)
Inserts a child into the childrenlist of this node.Tree
Tree. createChildAt(int index, Object newValue, String newInfo)
Inserts a child at the given position into this node.Tree
Tree. deepClone()
Clones this Tree (deep copy).Tree
Tree. getChildAfter(Tree aChild)
Returns the child in this node's child array that immediately followsaChild
, which must be a child of this node.Tree
Tree. getChildAt(int index)
Returns the child with given index.Tree
Tree. getChildBefore(Tree aChild)
Returns the child in this node's child array that immediately precedesaChild
, which must be a child of this node.Tree
Tree. getFirstChild()
Returns this node's first child.Tree
Tree. getFirstLeaf()
Finds and returns the first leaf that is a descendant of this node -- either this node or its first child's first leaf.Tree
Tree. getLastChild()
Returns this node's last child.Tree
Tree. getLastLeaf()
Finds and returns the last leaf that is a descendant of this node -- either this node or its last child's last leaf.Tree
Tree. getNextNode()
Returns the node that follows this node in a preorder traversal of this node's tree.Tree
Tree. getNextSibling()
Returns the next sibling of this node in the parent's children array.Tree
Tree. getParent()
Returns the parent node.Tree
Tree. getPreviousNode()
Returns the node that precedes this node in a preorder traversal of this node's tree.Tree
Tree. getPreviousSibling()
Returns the previous sibling of this node in the parent's children array.Tree
Tree. getRoot()
Returns the root element of this (sub)-tree.Tree
Tree. removeChildAt(int index)
Removes a child with given index.Tree
Recordset. toTree(String keyField, String parentKeyField)
Creates a new tree from data of this recordset.Tree
Recordset. toTree(String keyField, String parentKeyField, String valueField)
Creates a new tree from data of this recordset.Tree
Recordset. toTree(String keyField, String parentKeyField, String valueField, String infoField)
Creates a new tree from data of this recordset.Tree
Recordset. toTreeConstInfo(String keyField, String parentKeyField, String valueField, String info)
Creates a new tree from data of this recordset.Methods in ch.ivyteam.ivy.scripting.objects that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
Tree. createChildren(List<?> values)
Creates and adds new children.List<Tree>
Tree. createChildren(List<?> values, List<String> infos)
Creates and adds new children.List<Tree>
Tree. createChildren(List<?> values, List<String> infos, List<Boolean> mayHaveChildrenList)
Creates and adds new children.List<Tree>
Tree. createChildren(List<?> values, String _info)
Creates and adds new children.List<Tree>
Tree. createChildrenAt(int index, List<?> values)
Creates and adds new children.List<Tree>
Tree. createChildrenAt(int index, List<?> values, List<String> infos)
Creates and adds new children.List<Tree>
Tree. createChildrenAt(int index, List<?> values, List<String> infos, List<Boolean> mayHaveChildrenList)
Creates and adds new children.List<Tree>
Tree. createChildrenAt(int index, List<?> values, String _info)
Creates and adds new children.List<Tree>
Tree. getAllDeepChildren()
Gets all child nodes and child nodes of child nodes ...List<Tree>
Tree. getChildren()
Gets the child nodes of this node.List<Tree>
Tree. getPath()
Returns a path for from the root node to this node.Iterator<Tree>
Tree. iterator()
Creates and returns an iterator that traverses the subtree rooted at this node in preorder.Methods in ch.ivyteam.ivy.scripting.objects with parameters of type Tree Modifier and Type Method Description void
Tree. add(Tree child)
Adds a new child to this tree.void
Tree. addAt(int index, Tree child)
Adds a new child to this tree.Tree
Tree. getChildAfter(Tree aChild)
Returns the child in this node's child array that immediately followsaChild
, which must be a child of this node.Tree
Tree. getChildBefore(Tree aChild)
Returns the child in this node's child array that immediately precedesaChild
, which must be a child of this node.int
Tree. getIndex(Tree aChild)
Returns the index of the specified child in this node's child array.int
Tree. indexOf(Tree child)
Returns the index in this tree of the first occurrence of the specified child element, or -1 if this treet does not contain this child elementboolean
Tree. isNodeChild(Tree aNode)
Returns true ifaNode
is a child of this node.boolean
Tree. isNodeSibling(Tree anotherNode)
Returns true ifanotherNode
is a sibling of (has the same parent as) this node.void
Tree. remove(Tree aChild)
RemovesaChild
from this node's child array, giving it a null parent.Method parameters in ch.ivyteam.ivy.scripting.objects with type arguments of type Tree Modifier and Type Method Description void
Tree. addAll(List<Tree> newChildren)
Adds a new child to this tree.void
Tree. addAllAt(int index, List<Tree> newChildren)
Adds a new child to this tree.
-