|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.core.AbstractLayerOut
public abstract class AbstractLayerOut
Layout agent
Field Summary | |
---|---|
protected boolean |
clockwise
Whether node space is allocated clockwise |
protected static double |
theDefaultExpansion
Default expansion |
protected static Complex |
theDefaultOrientation
Default orientation |
private static double |
theDefaultOrientedChildSweep
Default oriented (non-radial) child sweep |
private static double |
theDefaultOrientedRootSweep
Default oriented (non-radial) root sweep |
private static double |
theDefaultRadialChildSweep
Default radial child sweep |
protected static double |
theDefaultRadialRootSweep
Default root radial sweep |
protected double |
theNodeDistance
Node distance |
protected double |
theNodeSweep
Node sweep |
protected double |
theRadius
Radius |
protected Complex |
theRootOrientation
Root orientation |
protected double |
theRootSweep
Root sweep |
protected double |
theSweepFactor
Sweep factor |
Constructor Summary | |
---|---|
AbstractLayerOut()
Contructor |
Method Summary | |
---|---|
void |
apply(Settings theseSettings)
Apply settings |
double |
getChildSweep()
Get sweep angle allocated to children |
double |
getExpansion()
Get expansion factor |
Complex |
getOrientation()
Get layout orientation |
double |
getRootSweep()
Set root sweep angle allocated to layout |
abstract void |
layout(INode thisNode)
Do layout |
abstract void |
layout(INode thisNode,
Complex thisCenter,
double thisHalfWedge,
double thisOrientation)
Do layout |
void |
setChildSweep(double thisSweep)
Set sweep angle allocated to children |
void |
setDefaultChildSweep(boolean radial)
Set child sweep to default |
private void |
setDefaultExpansion()
Set expansion to default |
private boolean |
setDefaultOrientation()
Set orientation to default |
void |
setDefaultRootSweep(boolean radial)
Set root sweep to default |
void |
setExpansion(double thisExpansion)
Set expansion factor |
void |
setOrientation(Complex thisOrientation)
Set layout orientation |
void |
setRootSweep(double thisSweep)
Get root sweep angle allocated to layout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Complex theDefaultOrientation
protected static final double theDefaultExpansion
protected static final double theDefaultRadialRootSweep
private static final double theDefaultOrientedRootSweep
private static final double theDefaultRadialChildSweep
private static final double theDefaultOrientedChildSweep
protected Complex theRootOrientation
protected double theRootSweep
protected double theNodeDistance
protected double theSweepFactor
protected double theRadius
protected double theNodeSweep
protected boolean clockwise
Constructor Detail |
---|
public AbstractLayerOut()
Method Detail |
---|
public abstract void layout(INode thisNode)
public abstract void layout(INode thisNode, Complex thisCenter, double thisHalfWedge, double thisOrientation)
thisNode
- start nodethisCenter
- starting point (hyperbolic circle center)thisHalfWedge
- half wedge allocated to layoutthisOrientation
- orientationpublic Complex getOrientation()
public void setOrientation(Complex thisOrientation)
thisOrientation
- public double getExpansion()
public void setExpansion(double thisExpansion)
thisExpansion
- expansion factorpublic double getRootSweep()
public void setRootSweep(double thisSweep)
thisSweep
- sweep angle allocated to layoutpublic double getChildSweep()
public void setChildSweep(double thisSweep)
thisSweep
- sweep angle allocated to childrenpublic void setDefaultRootSweep(boolean radial)
radial
- true if layout is radialpublic void setDefaultChildSweep(boolean radial)
radial
- true if layout is radialprivate boolean setDefaultOrientation()
private void setDefaultExpansion()
public void apply(Settings theseSettings)
theseSettings
- settings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |