com.tensegrity.graph.layout.tree
Class TreeLayoutConstants

java.lang.Object
  extended bycom.tensegrity.graph.layout.tree.TreeLayoutConstants

public class TreeLayoutConstants
extends java.lang.Object

This class contains attributes as well as their default values and is used primarily by class TreeLayout.

The TreeLayout provides four different arrangement style. The following attribute may be used to specify one of them

The distance between nodes is adjustable. You can use the following attributes to set the distance between them:

Version:
$Id: TreeLayoutConstants.java,v 1.25 2006/01/30 18:05:21 SharokhKhani Exp $
Author:
Sharokh Khani

Field Summary
static java.lang.String ERROR_NO_TREE
          Error message.
static java.lang.String GRAPH_CATEGORY_DESC
          description text of attributes categories.
static MetricExpression LAYER_DISTANCE_DEF
          The default value for LAYOUT_STYLE_HV.
static java.lang.String LAYER_DISTANCE_DESC
          This attribute specifies the distance between two layers.
static java.lang.String LAYOUT_NAME
          Name of this layout engine.
static java.lang.String LAYOUT_STYLE_DESC
          This attribute specifies the layout style.
static java.lang.String LAYOUT_STYLE_HV
          Horizontal-Vertical arrangement places the child nodes of each parent node either on a horizontal or a vertical line.
static java.lang.String LAYOUT_STYLE_LOOP
          The child nodes of each parent node will be arranged on a circle centered around that parent node.
static java.lang.String LAYOUT_STYLE_PLAIN
          The tree will be arranged hierarchically with the root at the top.
static java.lang.String LAYOUT_STYLE_RADIAL
          The radial style is a variation of the layered style.
static MetricExpression NODE_DISTANCE_DEF
          The default value forNODE_DISTANCE_DESC.
static java.lang.String NODE_DISTANCE_DESC
          This attribute specifies the distance between two nodes in the same layer.
static MetricExpression RADIUS_DEF
          The default value for RADIUS_DEF.
static java.lang.String RADIUS_DESC
          This attribute specifies the radius for the circles on which the nodes are distributed.
static int ROTATION_DEGREE_DEF
          The default value for ROTATION_DEGREE_DESC.
static java.lang.String ROTATION_DEGREE_DESC
          Specifies the drawing rotation angle of the graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAYOUT_NAME

public static final java.lang.String LAYOUT_NAME
Name of this layout engine.

See Also:
Constant Field Values

LAYOUT_STYLE_DESC

public static final java.lang.String LAYOUT_STYLE_DESC
This attribute specifies the layout style. null
The following styles are available: null

See Also:
Constant Field Values

LAYOUT_STYLE_PLAIN

public static final java.lang.String LAYOUT_STYLE_PLAIN
The tree will be arranged hierarchically with the root at the top. This style is typical for the visualization of organization charts.

See Also:
LAYOUT_STYLE_DESC, Constant Field Values

LAYOUT_STYLE_RADIAL

public static final java.lang.String LAYOUT_STYLE_RADIAL
The radial style is a variation of the layered style. The root of the tree is placed at the origin and layers are concentric circles centered at that origin.

See Also:
LAYOUT_STYLE_DESC, Constant Field Values

LAYOUT_STYLE_LOOP

public static final java.lang.String LAYOUT_STYLE_LOOP
The child nodes of each parent node will be arranged on a circle centered around that parent node.

See Also:
LAYOUT_STYLE_DESC, Constant Field Values

LAYOUT_STYLE_HV

public static final java.lang.String LAYOUT_STYLE_HV
Horizontal-Vertical arrangement places the child nodes of each parent node either on a horizontal or a vertical line.

See Also:
LAYOUT_STYLE_DESC, Constant Field Values

LAYER_DISTANCE_DESC

public static final java.lang.String LAYER_DISTANCE_DESC
This attribute specifies the distance between two layers.
Please note that this attribute has only an effect if one of the layout styles LAYOUT_STYLE_PLAIN or LAYOUT_STYLE_PLAIN is used.

See Also:
Constant Field Values

LAYER_DISTANCE_DEF

public static final MetricExpression LAYER_DISTANCE_DEF
The default value for LAYOUT_STYLE_HV.


NODE_DISTANCE_DESC

public static final java.lang.String NODE_DISTANCE_DESC
This attribute specifies the distance between two nodes in the same layer.
Please note that this attribute has only an effect if one of the layout styles LAYOUT_STYLE_PLAIN or LAYOUT_STYLE_PLAIN is used.

See Also:
Constant Field Values

NODE_DISTANCE_DEF

public static final MetricExpression NODE_DISTANCE_DEF
The default value forNODE_DISTANCE_DESC.


RADIUS_DESC

public static final java.lang.String RADIUS_DESC
This attribute specifies the radius for the circles on which the nodes are distributed.
Please note that this attribute has only an effect if one of the layout styles LAYOUT_STYLE_LOOP or LAYOUT_STYLE_RADIAL is used.

See Also:
Constant Field Values

RADIUS_DEF

public static final MetricExpression RADIUS_DEF
The default value for RADIUS_DEF.


ROTATION_DEGREE_DESC

public static final java.lang.String ROTATION_DEGREE_DESC
Specifies the drawing rotation angle of the graph. after arranging in degree.

See Also:
Constant Field Values

ROTATION_DEGREE_DEF

public static final int ROTATION_DEGREE_DEF
The default value for ROTATION_DEGREE_DESC.

See Also:
Constant Field Values

GRAPH_CATEGORY_DESC

public static final java.lang.String GRAPH_CATEGORY_DESC
description text of attributes categories.

See Also:
Constant Field Values

ERROR_NO_TREE

public static final java.lang.String ERROR_NO_TREE
Error message.

See Also:
Constant Field Values


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.