|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.gui.trees.treeviewer.treelayouts.AbstractTreeLayout jebl.gui.trees.treeviewer.treelayouts.PolarTreeLayout
public class PolarTreeLayout
Nested Class Summary | |
---|---|
static class |
PolarTreeLayout.TaxonLabelPosition
|
Nested classes/interfaces inherited from interface jebl.gui.trees.treeviewer.treelayouts.TreeLayout |
---|
TreeLayout.AxisType |
Field Summary |
---|
Fields inherited from class jebl.gui.trees.treeviewer.treelayouts.AbstractTreeLayout |
---|
branchLabelPaths, branchPaths, calloutPaths, nodeLabelPaths, nodePoints, taxonLabelPaths, tree |
Constructor Summary | |
---|---|
PolarTreeLayout()
|
Method Summary | |
---|---|
List<Controls> |
getControls(boolean detachPrimaryCheckbox)
Get a list of Controls handled by this provider. |
Shape |
getHeightArea(double height1,
double height2)
Return a shape that defines a particular height interval. |
Line2D |
getHeightLine(double height)
Return a line that defines a particular height. |
double |
getHeightOfPoint(Point2D point)
Return the height (from the youngest tip) for the given 2d point. |
void |
getSettings(ControlsSettings settings)
Get the settings for a given Controls object. |
TreeLayout.AxisType |
getXAxisType()
Return whether the x axis is continuous or discrete |
TreeLayout.AxisType |
getYAxisType()
Return whether the y axis is continuous or discrete |
boolean |
maintainAspectRatio()
Return whether the two axis scales should be maintained relative to each other |
void |
setAngularRange(double angularRange)
|
void |
setControlPalette(ControlPalette controlPalette)
Give the controls provider with a handle for the controlPalette object. |
void |
setRootAngle(double rootAngle)
|
void |
setRootLength(double rootLength)
|
void |
setSettings(ControlsSettings settings)
Give the provider some settings. |
void |
setTaxonLabelPosition(PolarTreeLayout.TaxonLabelPosition taxonLabelPosition)
|
protected void |
validate()
|
Methods inherited from class jebl.gui.trees.treeviewer.treelayouts.AbstractTreeLayout |
---|
addTreeLayoutListener, fireTreeLayoutChanged, getBranchLabelPath, getBranchPath, getCalloutPath, getNodeLabelPath, getNodePoint, getTaxonLabelPath, invalidate, removeTreeLayoutListener, setTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolarTreeLayout()
Method Detail |
---|
public TreeLayout.AxisType getXAxisType()
TreeLayout
public TreeLayout.AxisType getYAxisType()
TreeLayout
public boolean maintainAspectRatio()
TreeLayout
public double getHeightOfPoint(Point2D point)
TreeLayout
public Line2D getHeightLine(double height)
TreeLayout
public Shape getHeightArea(double height1, double height2)
TreeLayout
public void setControlPalette(ControlPalette controlPalette)
ControlsProvider
public List<Controls> getControls(boolean detachPrimaryCheckbox)
ControlsProvider
detachPrimaryCheckbox
- When false, do nothing. When true, if controls have a "main" on/off switch
(implemented as a JCheckBox), that checkbox should not be included in the controls panel but returned in
Controls.getPrimaryCheckbox()
public void setSettings(ControlsSettings settings)
ControlsProvider
public void getSettings(ControlsSettings settings)
ControlsProvider
public void setRootAngle(double rootAngle)
public void setRootLength(double rootLength)
public void setAngularRange(double angularRange)
public void setTaxonLabelPosition(PolarTreeLayout.TaxonLabelPosition taxonLabelPosition)
protected void validate()
validate
in class AbstractTreeLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |