|
||||||||||
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.RectilinearTreeLayout
public class RectilinearTreeLayout
Nested Class Summary |
---|
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 | |
---|---|
RectilinearTreeLayout()
|
Method Summary | |
---|---|
double |
getCurvature()
|
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 |
getRootLength()
|
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 |
isAlignTipLabels()
|
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 |
setAlignTipLabels(boolean alignTipLabels)
|
void |
setCurvature(double curvature)
|
void |
setRootLength(double rootLength)
|
protected void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RectilinearTreeLayout()
Method Detail |
---|
public TreeLayout.AxisType getXAxisType()
TreeLayout
public TreeLayout.AxisType getYAxisType()
TreeLayout
public boolean isShowingRootBranch()
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 boolean isAlignTipLabels()
public double getRootLength()
public double getCurvature()
public void setAlignTipLabels(boolean alignTipLabels)
public void setCurvature(double curvature)
public void setRootLength(double rootLength)
protected void validate()
validate
in class AbstractTreeLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |