Package org.openscada.opc.lib.da.browser
Class Branch
java.lang.Object
org.openscada.opc.lib.da.browser.Branch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all branches.Get the list of names from the parent up to this branchGet all leaves.getName()voidsetBranches(Collection<Branch> branches) voidsetLeaves(Collection<Leaf> leaves) void
-
Constructor Details
-
Branch
public Branch()Create a branch to the virtual root folder -
Branch
Create a branch with a parent branch and a name of this branch.- Parameters:
parent- The parent of this branchname- The name of this branch
-
-
Method Details
-
getBranches
Get all branches.
They must be filled first with a fill method from theTreeBrowser- Returns:
- The list of branches
-
setBranches
-
getLeaves
Get all leaves.
They must be filled first with a fill method from theTreeBrowser- Returns:
- The list of leaves
-
setLeaves
-
getName
-
setName
-
getParent
-
getBranchStack
Get the list of names from the parent up to this branch- Returns:
- The stack of branch names from the parent up this one
-