|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TreeJuxtaposer.TreeJuxtaposer
A class representing a tree juxtaposer. A TreeJuxtaposer takes a set of trees and build the data structures for each pair for best corresponding nodes lookup and range intersection queries. The TreePairs class encapsulates all the Tree2Tree classes required to relate pairs of trees in the list "trees".
AccordionDrawer.Tree
,
AccordionDrawer.TreeNode
,
CellGeom
,
TreePairs
,
AccordionDrawer.AccordionTreeDrawer
,
AccordionTreeDrawerFinal
Field Summary | |
static boolean |
drawButterFly
|
java.util.ArrayList |
lcaNode
|
Constructor Summary | |
TreeJuxtaposer()
|
Method Summary | |
int |
addGroup(boolean thisTreeOnly)
|
void |
addLeaves()
|
void |
addNodesToGroup(int min,
int max,
int group,
AccordionTreeDrawer atd)
|
void |
addTree(Tree newTree)
Adds a new tree to "trees", performs all the pairwise tree comparisons and stores results. |
void |
changedMarks()
|
void |
clearGroup(int group)
|
void |
clearObserve()
|
void |
decreaseLabelBuffer()
|
void |
decreaseLabelBuffer(int xy)
|
void |
decreaseLineThickness()
|
void |
decreaseMaxFontHeight()
|
void |
decreaseMinFontHeight()
|
void |
deleteTree(java.lang.String fileName)
Delete a tree from "trees", clean up all the data structures constructed for tree comparisons. |
void |
drawDD()
|
void |
drawLL()
|
void |
drawRL()
|
void |
drawRR()
|
void |
drawUU()
|
void |
drawWithViewDirection()
|
float |
getBcnScore()
|
boolean |
getDimBrite()
|
boolean |
getDimColors()
|
boolean |
getDrawLabels()
|
java.awt.Color |
getGroupColor(int group)
|
java.util.ArrayList |
getGroupForest(int groupindex,
AccordionTreeDrawer atd)
Return one TreeNode per group range item. |
java.lang.String |
getLabelByFQName(java.lang.String FQName)
|
boolean |
getLCAGroup()
|
boolean |
getLCAMark()
|
int |
getLeftRight()
|
boolean |
getLinkedNav()
|
boolean |
getShowDiffs()
|
Tree |
getTreeByName(java.lang.String name)
Fetch a tree by its name. |
void |
increaseLabelBuffer()
|
void |
increaseLabelBuffer(int xy)
|
void |
increaseLineThickness()
|
void |
increaseMaxFontHeight()
|
void |
increaseMinFontHeight()
|
static void |
main(java.lang.String[] args)
|
void |
observe()
|
void |
observeActionGroup()
|
void |
observeActionMode()
a more compact version of implementation for observing functions |
void |
observeActionTarget()
|
void |
observeMarkGroup()
|
void |
removeNodesFromGroup(int min,
int max,
int group,
AccordionTreeDrawer atd)
|
void |
requestRedrawAll()
|
void |
reset()
|
void |
resizeGroup(int groupindex,
boolean grow,
int numSteps,
boolean horizontal,
boolean vertical)
|
void |
resizeGroup(int groupindex,
boolean grow,
int numSteps,
boolean horizontal,
boolean vertical,
AccordionTreeDrawer atd)
|
void |
resizeRectOthers(TreeNode tn,
float[] minChangeRatio,
float[] maxChangeRatio,
int numAnimSteps,
AccordionTreeDrawer thisatd)
|
void |
setBcnScore(float score)
|
void |
setBigGrid(boolean on)
|
void |
setCacheRange(boolean on)
|
void |
setCheckTime(boolean on)
|
void |
setColorGrid(boolean on)
|
void |
setDimBrite(boolean on)
|
void |
setDimColors(boolean on)
|
void |
setDrawLabels(boolean on)
|
void |
setDrawOrder(int order)
|
void |
setDrawSplits(boolean on)
|
void |
setDumpStats(boolean on)
|
void |
setExpandLeaves(int expand)
|
void |
setGroupColor(int group,
java.awt.Color c)
|
void |
setGroupEnable(int group,
boolean on)
|
void |
setGroupPriority(int group)
|
void |
setGuarVis(boolean on)
|
void |
setHorizontalDirection()
|
void |
setLabelBuffer(int buffer)
|
void |
setLabelBuffer(int buffer,
int xy)
|
void |
setLabelDrawBack(boolean on)
|
void |
setLabelPopup(boolean on)
|
void |
setLabelPosRight(boolean on)
|
void |
setLabelTransp(boolean on)
|
void |
setLCAGroup(boolean on)
|
void |
setLCAMark(boolean on)
|
void |
setLeftRight(int i)
|
void |
setLineThickness(float thickness)
|
void |
setLinkedNav(boolean on)
|
void |
setMaxFontHeight(int fontsize)
|
void |
setMinFontHeight(int fontsize)
|
void |
setNoFlash(boolean on)
|
void |
setNoGeoms(boolean on)
|
void |
setNoGrid(boolean on)
|
void |
setShowAlg(boolean on)
|
void |
setShowDiffs(boolean on)
|
void |
setTitle(java.lang.String t)
|
void |
setVerticalDirection()
|
void |
toggleBigGrid()
|
void |
toggleCacheRange()
|
void |
toggleCheckTime()
|
void |
toggleColorGrid()
|
void |
toggleDimBrite()
|
void |
toggleDimColors()
|
void |
toggleDrawLabels()
|
void |
toggleDrawOrder()
|
void |
toggleDrawSplits()
|
void |
toggleDumpStats()
|
void |
toggleExpandLeaves()
|
void |
toggleGuarVis()
|
void |
toggleLabelDrawBack()
|
void |
toggleLabelPopup()
|
void |
toggleLabelPosRight()
|
void |
toggleLabelTransp()
|
void |
toggleLinkedNav()
|
void |
toggleNoFlash()
|
void |
toggleNoGeoms()
|
void |
toggleNoGrid()
|
void |
toggleShowAlg()
|
void |
toggleShowDiffs()
|
void |
unmarkGroup(int group)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean drawButterFly
public java.util.ArrayList lcaNode
Constructor Detail |
public TreeJuxtaposer()
Method Detail |
public void setTitle(java.lang.String t)
public void addTree(Tree newTree)
AccordionDrawer.Tree
,
TreePairs.addTree
public void setHorizontalDirection()
public void setVerticalDirection()
public void drawWithViewDirection()
public void drawRL()
public void drawRR()
public void drawUU()
public void drawDD()
public void drawLL()
public void deleteTree(java.lang.String fileName)
AccordionDrawer.AccordionDrawer.close
,
AccordionDrawer.AccordionTreeDrawer.close
,
AccordionDrawer.GridCell.close
,
AccordionDrawer.Tree.close
,
AccordionDrawer.TreeEdge.close
,
AccordionDrawer.TreeNode.close
,
Parse.Newick.close
,
Tree2Tree.close
,
TreePairs.removeTree
public Tree getTreeByName(java.lang.String name)
public void changedMarks()
public void requestRedrawAll()
public void addLeaves()
public int addGroup(boolean thisTreeOnly)
public void setGroupPriority(int group)
public void setGroupColor(int group, java.awt.Color c)
public void setGroupEnable(int group, boolean on)
public void addNodesToGroup(int min, int max, int group, AccordionTreeDrawer atd)
public void removeNodesFromGroup(int min, int max, int group, AccordionTreeDrawer atd)
public java.awt.Color getGroupColor(int group)
public void clearGroup(int group)
public void unmarkGroup(int group)
public java.lang.String getLabelByFQName(java.lang.String FQName)
public void setBigGrid(boolean on)
public void toggleBigGrid()
public void setCacheRange(boolean on)
public void toggleCacheRange()
public void setCheckTime(boolean on)
public void toggleCheckTime()
public void setColorGrid(boolean on)
public void toggleColorGrid()
public void setDimBrite(boolean on)
public void toggleDimBrite()
public boolean getDimBrite()
public void setDimColors(boolean on)
public void toggleDimColors()
public boolean getDimColors()
public void setDrawLabels(boolean on)
public void toggleDrawLabels()
public boolean getDrawLabels()
public void setDrawOrder(int order)
public void toggleDrawOrder()
public void setDumpStats(boolean on)
public void toggleDumpStats()
public void setGuarVis(boolean on)
public void toggleGuarVis()
public void setExpandLeaves(int expand)
public void toggleExpandLeaves()
public void setLabelBuffer(int buffer)
public void increaseLabelBuffer()
public void decreaseLabelBuffer()
public void setLabelBuffer(int buffer, int xy)
public void increaseLabelBuffer(int xy)
public void decreaseLabelBuffer(int xy)
public void setLabelDrawBack(boolean on)
public void toggleLabelDrawBack()
public void setLabelPopup(boolean on)
public void toggleLabelPopup()
public void setLabelPosRight(boolean on)
public void toggleLabelPosRight()
public void setLabelTransp(boolean on)
public void toggleLabelTransp()
public void setDrawSplits(boolean on)
public void toggleDrawSplits()
public void setLineThickness(float thickness)
public void increaseLineThickness()
public void decreaseLineThickness()
public void setLinkedNav(boolean on)
public void toggleLinkedNav()
public boolean getLinkedNav()
public void setMaxFontHeight(int fontsize)
public void increaseMaxFontHeight()
public void decreaseMaxFontHeight()
public void setMinFontHeight(int fontsize)
public void increaseMinFontHeight()
public void decreaseMinFontHeight()
public void setNoFlash(boolean on)
public void toggleNoFlash()
public void setNoGeoms(boolean on)
public void toggleNoGeoms()
public void setNoGrid(boolean on)
public void toggleNoGrid()
public void setShowAlg(boolean on)
public void toggleShowAlg()
public void setShowDiffs(boolean on)
public void toggleShowDiffs()
public boolean getShowDiffs()
public void setLCAGroup(boolean on)
public boolean getLCAGroup()
public void setLCAMark(boolean on)
public boolean getLCAMark()
public void reset()
public java.util.ArrayList getGroupForest(int groupindex, AccordionTreeDrawer atd)
public void resizeGroup(int groupindex, boolean grow, int numSteps, boolean horizontal, boolean vertical, AccordionTreeDrawer atd)
public void resizeGroup(int groupindex, boolean grow, int numSteps, boolean horizontal, boolean vertical)
public void resizeRectOthers(TreeNode tn, float[] minChangeRatio, float[] maxChangeRatio, int numAnimSteps, AccordionTreeDrawer thisatd)
public static void main(java.lang.String[] args)
public void observe()
public void observeActionMode()
public void clearObserve()
public void observeActionGroup()
public void observeActionTarget()
public void observeMarkGroup()
public void setBcnScore(float score)
public float getBcnScore()
public void setLeftRight(int i)
public int getLeftRight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |