|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.gui.trees.treeviewer_dev.treelayouts.AbstractTreeLayout jebl.gui.trees.treeviewer_dev.treelayouts.PolarTreeLayout
public class PolarTreeLayout
Nested Class Summary | |
---|---|
static class |
PolarTreeLayout.TipLabelPosition
|
Nested classes/interfaces inherited from interface jebl.gui.trees.treeviewer_dev.treelayouts.TreeLayout |
---|
TreeLayout.AxisType |
Field Summary |
---|
Fields inherited from class jebl.gui.trees.treeviewer_dev.treelayouts.AbstractTreeLayout |
---|
branchColouringAttribute, branchLabelPaths, branchPaths, calloutPaths, collapseAttributeName, collapsedShapes, nodeBarPaths, nodeLabelPaths, nodePoints, showingCollapsedTipLabels, tipLabelPaths, tree |
Constructor Summary | |
---|---|
PolarTreeLayout()
|
Method Summary | |
---|---|
double |
getAngularRange()
|
Shape |
getHeightArea(double height1,
double height2)
Return a shape that defines a particular height interval. |
Shape |
getHeightLine(double height)
Return a line that defines a particular height. |
double |
getHeightOfPoint(Point2D point)
|
double |
getRootAngle()
|
double |
getRootLength()
|
PolarTreeLayout.TipLabelPosition |
getTipLabelPosition()
|
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 |
isShowingRootBranch()
Return whether this layout displays a root branch |
boolean |
maintainAspectRatio()
Return whether the two axis scales should be maintained relative to each other |
void |
setAngularRange(double angularRange)
|
void |
setRootAngle(double rootAngle)
|
void |
setRootLength(double rootLength)
|
void |
setShowingRootBranch(boolean showingRootBranch)
|
void |
setTipLabelPosition(PolarTreeLayout.TipLabelPosition tipLabelPosition)
|
protected void |
validate()
|
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)
public Shape getHeightLine(double height)
TreeLayout
public Shape getHeightArea(double height1, double height2)
TreeLayout
public double getRootAngle()
public double getAngularRange()
public boolean isShowingRootBranch()
TreeLayout
public double getRootLength()
public PolarTreeLayout.TipLabelPosition getTipLabelPosition()
public void setRootAngle(double rootAngle)
public void setAngularRange(double angularRange)
public void setShowingRootBranch(boolean showingRootBranch)
public void setRootLength(double rootLength)
public void setTipLabelPosition(PolarTreeLayout.TipLabelPosition tipLabelPosition)
protected void validate()
validate
in class AbstractTreeLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |