partitionTree(e.getX());
}
PaintRefresher.Refresh(treeView, parentAvport.getSequenceSetId());
- treeView.repaint();
- // MOVE
- Graphics g = treeView.getGraphics();
- int panelHeight = treeView.getHeight();
- g.drawLine(e.getX(), 0, e.getX(), panelHeight);
+
+
}
});
}
+ treeView.repaint();
}
if (longestBranch != 0)
{
-
// double relativeTreeWidth = longestBranch / viewWidth;
+ // MOVE
+ Graphics g = treeView.getGraphics();
+ int panelHeight = treeView.getHeight();
+ g.drawLine(x, 0, x, panelHeight);
float rootX = tree.getRoot().getXcoord();
-
double threshold = ((double) x - rootX) / longestBranch;
List<PhylogenyNode> foundNodes = getNodesAboveThreshold(threshold,
longestBranch, tree.getRoot());