|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttreebolic.core.AbstractLayerOut
treebolic.core.LayerOut
public class LayerOut
Layout agent
| Field Summary | |
|---|---|
private static double |
ksi
Constant used in computations, determining compromise between widening and lengthening |
| Fields inherited from class treebolic.core.AbstractLayerOut |
|---|
clockwise, theDefaultExpansion, theDefaultOrientation, theDefaultRadialRootSweep, theNodeDistance, theNodeSweep, theRadius, theRootOrientation, theRootSweep, theSweepFactor |
| Constructor Summary | |
|---|---|
LayerOut()
Contructor |
|
| Method Summary | |
|---|---|
private double |
computeDistance(int thisChildCount)
Compute distance |
private double |
computeOrientation(Complex thisParentCenter,
Complex thisCenter,
double thisOrientation)
Compute orientation |
private double |
computeWedge(double thisNodeDistance,
double thisWedge)
Compute wedge |
void |
layout(INode thisNode)
Do layout |
void |
layout(INode thisNode,
Complex thisCenter,
double thisHalfWedge,
double thisOrientation)
Do layout |
private void |
layoutChildren(INode thisNode,
double thisHalfWedge,
double thisOrientation)
Lay out children |
| Methods inherited from class treebolic.core.AbstractLayerOut |
|---|
apply, getChildSweep, getExpansion, getOrientation, getRootSweep, setChildSweep, setDefaultChildSweep, setDefaultRootSweep, setExpansion, setOrientation, setRootSweep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final double ksi
| Constructor Detail |
|---|
public LayerOut()
| Method Detail |
|---|
public void layout(INode thisNode)
AbstractLayerOut
layout in class AbstractLayerOut
public void layout(INode thisNode,
Complex thisCenter,
double thisHalfWedge,
double thisOrientation)
AbstractLayerOut
layout in class AbstractLayerOutthisNode - start nodethisCenter - starting point (hyperbolic circle center)thisHalfWedge - half wedge allocated to layoutthisOrientation - orientation
private void layoutChildren(INode thisNode,
double thisHalfWedge,
double thisOrientation)
thisNode - starting nodethisHalfWedge - half wedge allocated to this nodethisOrientation - orientation of this nodeprivate double computeDistance(int thisChildCount)
thisChildCount -
private double computeOrientation(Complex thisParentCenter,
Complex thisCenter,
double thisOrientation)
thisParentCenter - parent node hypercircle centerthisCenter - this node's hypercirclethisOrientation - orientation
private double computeWedge(double thisNodeDistance,
double thisWedge)
thisNodeDistance - node distancethisWedge - wedge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||