|
||||||||||
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.RadialTreeLayout
public class RadialTreeLayout
Nested Class Summary |
---|
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 | |
---|---|
RadialTreeLayout()
|
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 |
setControlPalette(ControlPalette controlPalette)
Give the controls provider with a handle for the controlPalette object. |
void |
setRootAngle(double angleInDeg)
|
void |
setSettings(ControlsSettings settings)
Give the provider some settings. |
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 RadialTreeLayout()
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 void setRootAngle(double angleInDeg)
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
protected void validate()
validate
in class AbstractTreeLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |