Uses of Class
com.accountingenhancements.treearray.BranchNode

Packages that use BranchNode
com.accountingenhancements.layouttools   
com.accountingenhancements.treearray   
 

Uses of BranchNode in com.accountingenhancements.layouttools
 

Methods in com.accountingenhancements.layouttools with parameters of type BranchNode
static org.jdesktop.layout.GroupLayout.Group GroupLayoutPanelFactory.addBranchToGroupLayout(org.jdesktop.layout.GroupLayout layout, BranchNode<javax.swing.JComponent> branch)
           
static org.jdesktop.layout.GroupLayout.Group GroupLayoutPanelFactory.addBranchToGroupLayout(org.jdesktop.layout.GroupLayout layout, BranchNode<javax.swing.JComponent> branch, java.lang.Boolean isHorizontal)
          BranchNode and LeafNode attributes BranchNode Attribute "groupType": "root" = trunk of tree "HorizontalParallel" = Horizontal Group starting point.
 

Uses of BranchNode in com.accountingenhancements.treearray
 

Fields in com.accountingenhancements.treearray declared as BranchNode
protected  BranchNode<E> TreeCrawler.branchNode
           
protected  BranchNode<F> BranchNode.parent
           
protected  BranchNode<E> TreeCrawler.trunkBranchNode
           
 

Fields in com.accountingenhancements.treearray with type parameters of type BranchNode
protected  java.util.ArrayList<BranchNode<E>> TreeCrawler.branchPath
           
protected  java.util.HashMap<java.lang.String,BranchNode<E>> Tree.groupName
          A HashMap of names to attach names to BranchNode
 

Methods in com.accountingenhancements.treearray that return BranchNode
 BranchNode<F> BranchNode.addLeaf(F leaf)
          Appends the specified Element to the end the LeafNode list.
Same as leafAdd(F leaf)
 BranchNode<F> BranchNode.addLeaf(int index, F leaf)
          Inserts the specified Element at the specified position in the LeafNode list.
 BranchNode<F> BranchNode.addLeaf(Leaf<F> leaf)
          Appends the specified Leaf to the end the LeafNode list.
Use this if you want to create the leaf itself.
Note: if you want set attributes on the Leaf you can chain the attributes to the new Leaf<>() constructor because Leaf<>().setAttribute returns the Leaf<> again.
branchNode.addLead(new Leaf(component).setAttribute("horizontalPref",20).setAttribute("verticalPref",7));
Same as leafAdd(Leaf leaf)
 BranchNode<F> BranchNode.createNewBranchNode()
          Create as new BranchNode entry and return it.
The new class will be cast to the correct class.
 BranchNode<F> BranchNode.createNewBranchNode(java.lang.String branchName)
          Create as new BranchNode entry and return it.
The new class will be cast to the correct class.
 BranchNode<E> Tree.getBranchByName(java.lang.String branchName)
          If a branch has been assigned a name, you can retrieve it through here.
 BranchNode<F> BranchNode.getParent()
          Get the parent BranchNode.
 BranchNode<E> Tree.getTrunk()
           
 BranchNode<F> BranchNode.leafAdd(F leaf)
          Appends the specified Element to the end the LeafNode list.
Same as getLeaf(int index)
 BranchNode<F> BranchNode.leafAdd(int index, F leaf)
          Inserts the specified Element at the specified position in the LeafNode list.
 BranchNode<F> BranchNode.leafAdd(Leaf<F> leaf)
          Appends the specified leaf to the end the LeafNode list.
Note: if you want set attributes on the Leaf you can chain the attributes to the new Leaf<>() constructor because Leaf<>().setAttribute returns the Leaf<> again.
branchNode.addLead(new Leaf(component).setAttribute("horizontalPref",20).setAttribute("verticalPref",7));
Same as addLleaf(Leaf leaf)
 BranchNode<F> BranchNode.setAttribute(java.lang.String attribute, java.lang.Object value)
          Set attributes relating to this branch.
 

Methods in com.accountingenhancements.treearray with parameters of type BranchNode
 void Tree.setBranchName(java.lang.String branchName, BranchNode<E> branchNode)
          Assign a name to a BranchNode for later retrieval.
 

Constructors in com.accountingenhancements.treearray with parameters of type BranchNode
BranchNode(BranchNode<F> parent)
          Creates a BranchNode Array of other BranchNode as well as a LeafNode array.
Constructs an empty list with an initial capacity of ten and an empty LeafNode list with an initial capacity of 10.
BranchNode(int initialCapacity, int initialLeafCapacity, BranchNode<F> parent)
          Constructs an empty BranchNode with the specified initial capacity.
TreeCrawler(BranchNode<E> branchNode)
          Creates a new instance of TreeCrawler