org.wilmascope.columnlayout
Class ColumnCluster

java.lang.Object
  extended by org.wilmascope.columnlayout.ColumnCluster

public class ColumnCluster
extends java.lang.Object


Field Summary
static int DOTCOLUMNS
           
static int FORCECOLUMNS
           
static int WORMS
           
 
Constructor Summary
ColumnCluster(GraphControl.Cluster root, float initValue, float bottomRadius, int initLevel, java.lang.String clusterViewType, java.lang.String nodeViewType)
           
ColumnCluster(java.lang.String label, GraphControl.Cluster root, float initValue, float bottomRadius, int initLevel, java.lang.String nodeViewType)
           
 
Method Summary
 GraphControl.Node addInvisibleNode()
           
 GraphControl.Node addNode()
           
 GraphControl.Node addNode(float value)
           
 GraphControl.Node addStraightNode(float value)
           
 GraphControl.Node addVariableNode(float value)
           
 GraphControl.Cluster getClusterFacade()
           
static int getColumnStyle()
           
 int getNextLevel()
           
 GraphControl.Node getTopNode()
           
 float getTopRadius()
           
static void setColumnStyle(int style)
           
 void setLabel(java.lang.String[] labels)
           
protected static void setLevelConstraint(GraphControl.Node n, int level)
           
 void skipLevel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOTCOLUMNS

public static final int DOTCOLUMNS
See Also:
Constant Field Values

FORCECOLUMNS

public static final int FORCECOLUMNS
See Also:
Constant Field Values

WORMS

public static final int WORMS
See Also:
Constant Field Values
Constructor Detail

ColumnCluster

public ColumnCluster(GraphControl.Cluster root,
                     float initValue,
                     float bottomRadius,
                     int initLevel,
                     java.lang.String clusterViewType,
                     java.lang.String nodeViewType)

ColumnCluster

public ColumnCluster(java.lang.String label,
                     GraphControl.Cluster root,
                     float initValue,
                     float bottomRadius,
                     int initLevel,
                     java.lang.String nodeViewType)
Method Detail

setLabel

public void setLabel(java.lang.String[] labels)

getNextLevel

public int getNextLevel()

addNode

public GraphControl.Node addNode(float value)

addStraightNode

public GraphControl.Node addStraightNode(float value)

addVariableNode

public GraphControl.Node addVariableNode(float value)

addInvisibleNode

public GraphControl.Node addInvisibleNode()

getTopRadius

public float getTopRadius()

addNode

public GraphControl.Node addNode()

getTopNode

public GraphControl.Node getTopNode()

setColumnStyle

public static void setColumnStyle(int style)

getColumnStyle

public static int getColumnStyle()

skipLevel

public void skipLevel()

getClusterFacade

public GraphControl.Cluster getClusterFacade()

setLevelConstraint

protected static void setLevelConstraint(GraphControl.Node n,
                                         int level)