|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.MenuOwner
mesquite.lib.EmployerEmployee
mesquite.lib.MesquiteModule
mesquite.lib.duties.DrawTree
public abstract class DrawTree
This is superclass of all Mesquite tree drawing modules. Creates a TreeDrawing, which does the drawing of the tree. Example modules: ArcTree, BallsNSticks, CircularTree, Constellation, DiagonalDrawTree, PlotTree, SquareTree.
| Field Summary |
|---|
| Fields inherited from class mesquite.lib.MesquiteModule |
|---|
author, browserString, checkMethodsAtStartup, hiredAsDefaultInScripting, lastResult, lastResultString, logWindow, mesquiteDirectory, mesquiteDirectoryPath, mesquiteTrunk, moduleInfo, prefsDirectory, proj, textEdgeCompensationHeight, textEdgeCompensationWidth, totalFinalized, userDirectory |
| Fields inherited from class mesquite.lib.EmployerEmployee |
|---|
employees, employer, startupBailOut, stringPos, suppressHireQueries, totalCreated, totalDisposed, useOtherChoices |
| Fields inherited from interface mesquite.lib.MesquiteListener |
|---|
ANNOTATION_ADDED, ANNOTATION_CHANGED, ANNOTATION_DELETED, ASSOCIATED_CHANGED, BRANCHES_REARRANGED, BRANCHLENGTHS_CHANGED, COMMAND_CANCELLED, DATA_CHANGED, ELEMENT_CHANGED, ITEMS_ADDED, NAMES_CHANGED, OBJECT_DESTROYED, PARTS_ADDED, PARTS_CHANGED, PARTS_DELETED, PARTS_MOVED, SELECTION_CHANGED, TAXA_SUBSTITUTED, TEXTFIELD_EDITED, UNKNOWN, VALUE_CHANGED |
| Fields inherited from interface mesquite.lib.HNode |
|---|
MOUSEDOWN, MOUSEEXIT, MOUSEMOVE |
| Constructor Summary | |
|---|---|
DrawTree()
|
|
| Method Summary | |
|---|---|
abstract TreeDrawing |
createTreeDrawing(TreeDisplay treeDisplay,
int numTaxa)
Returns a TreeDrawing to be used in the given TreeDisplay, with the given inital number of terminal taxa |
java.lang.String[] |
getDefaultModule()
Returns name of default module for superclass. |
java.lang.Class |
getDutyClass()
Returns duty Class the module belongs to; should be defined not by module itself but by abstract class representing duty |
java.lang.String |
getDutyName()
Returns the name of the duty; set by the duty-defining library classes. |
java.lang.String |
getFunctionIconPath()
returns an icon to accompany the explanation of what the module does. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size (if any) of the tree drawing |
boolean |
isSubstantive()
returns whether this module does substantive calculations affecting analysis results, or only a graphical/UI/input-output module |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrawTree()
| Method Detail |
|---|
public java.lang.Class getDutyClass()
MesquiteModule
getDutyClass in class MesquiteModulepublic java.lang.String getFunctionIconPath()
MesquiteModule
getFunctionIconPath in interface FunctionExplainablegetFunctionIconPath in class MesquiteModulepublic java.lang.String getDutyName()
MesquiteModule
getDutyName in class MesquiteModulepublic java.lang.String[] getDefaultModule()
MesquiteModule
getDefaultModule in class MesquiteModulepublic java.awt.Dimension getPreferredSize()
public abstract TreeDrawing createTreeDrawing(TreeDisplay treeDisplay,
int numTaxa)
public boolean isSubstantive()
MesquiteModule
isSubstantive in class MesquiteModule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||