| Modifier and Type | Method and Description | 
|---|---|
Element | 
ConsensusTree.checkForNodes(int x,
             int y,
             org.eclipse.swt.widgets.Canvas can)
checks if there is a node at the position defined by x and y on the canvas. 
 | 
Element[] | 
Element.getDirectChildren()
returns the direct left and right child of the element 
 | 
Element | 
Element.getParent()
returns the parent element 
 | 
Element | 
Tree.getRoot()
returns the root of the tree 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.ArrayList<Element> | 
Element.getChildren()
returns all children of the element 
 | 
java.util.ArrayList<Element> | 
Tree.getNodes()
returns all nodes 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Element.addChild(Element c)
adds a child to the list of children of the element 
 | 
void | 
ConsensusTree.markNodes(Element referenceElement,
         org.eclipse.swt.widgets.Canvas can)
highlights the nodes on the consensus tree, that are equal to the passed reference tree and its children 
 | 
void | 
ComparisonTree.markNodes(Element referenceElement,
         org.eclipse.swt.widgets.Canvas can,
         int startx1,
         int starty1,
         int endx,
         int endy)
highlightes the nodes, which are equal to the reference element or its children 
 | 
void | 
Element.setDirectChildren(Element[] dc)
sets the direct left an right child of the element 
 | 
void | 
Element.setParent(Element p)
sets the parent element 
 |