Uses of Class
com.accountingenhancements.treearray.Leaf

Packages that use Leaf
com.accountingenhancements.treearray   
 

Uses of Leaf in com.accountingenhancements.treearray
 

Methods in com.accountingenhancements.treearray that return Leaf
 Leaf<E> LeafNode.addAndReturnLeaf(Leaf<E> o)
          Appends the specified leaf to the end of this list.
 Leaf<E> Leaf.setAttribute(java.lang.String attribute, java.lang.Object value)
          Set an attribute relating to this leaf
 

Methods in com.accountingenhancements.treearray with parameters of type Leaf
 Leaf<E> LeafNode.addAndReturnLeaf(Leaf<E> o)
          Appends the specified leaf to the end of this list.
 LeafNode LeafNode.addAndReturnLeafNode(Leaf<E> o)
          Appends the specified leaf to the end of this list.
 void LeafNode.addLeaf(int index, Leaf<E> element)
          Inserts the specified leaf at the specified position in this list (Creates Leaf for the object).
 boolean LeafNode.addLeaf(Leaf<E> leaf)
          Appends the specified leaf to the end of this list (Creates Leaf for the object).
 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.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)
 boolean BranchNode.leafRemove(Leaf<F> o)
          Removes a single instance of the specified leaf from the LeafNode list, if it is present (optional operation).
 boolean BranchNode.removeLeaf(Leaf<F> o)
          Removes a single instance of the specified leaf from the LeafNode list, if it is present (optional operation).