|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.layout.orgchart.OrgChartLayoutConstants
This class contains attributes as well their their default values and is used
primarily by class OrgChartLayout
The OrgChartLayout class
provides several predefined arrangement styles which are typically used
for modeling organization charts.
You can use the associated constants to define the default arrangement for the whole
graph, or to change the arrangement of nodes that should have a different
arrangement style than the default.
The distance between nodes is adjustable. You can use the following attributes to set the distance between them:
The OrgChartLayout class expects
a rooted tree as input. However, in some cases it is necessary to show the
association between nodes. In this case it is possible to define an edge
as an association edge using the following attribute:
| Field Summary | |
static java.lang.String |
ARRANGEMENT_DESC
Specifies the arrangement style for a node. |
static java.lang.String |
CHILDREN_BALANCE_CENTER
Arranges child nodes balanced / center. |
static java.lang.String |
CHILDREN_BALANCE_LEFT
Arranges child nodes balanced / left. |
static java.lang.String |
CHILDREN_BALANCE_RIGHT
Arranges child nodes balanced / right. |
static java.lang.String |
CHILDREN_LIST_DOUBLE
Arranges child nodes list / double. |
static java.lang.String |
CHILDREN_LIST_LEFT
Arranges child nodes list / left. |
static java.lang.String |
CHILDREN_LIST_RIGHT
Arranges child nodes list / right. |
static java.lang.String |
COMPACT
The arrangement style of the nodes will be set by the OrgChart Layout
automatically to achieve a compact diagram.
. |
static java.lang.String |
DEFAULT_NODE_ARRANGEMENT_DEF
The default value for DEFAULT_NODE_ARRANGEMENT_DEF. |
static java.lang.String |
DEFAULT_NODE_ARRANGEMENT_DESC
The default arrangement style for the whole graph. |
static java.lang.String |
DESCRIPTION_EDGE_CATEGORY
description text for attributes of edges |
static java.lang.String |
DESCRIPTION_GRAPH_CATEGORY
description text for attributes of graph |
static java.lang.String |
DESCRIPTION_NODE_CATEGORY
description text for attributes of nodes |
static java.lang.String |
ERROR_NO_TREE
Error message. |
static boolean |
FREE_NODE_PLACEMENT_DEF
An Association edge shows only the association between two nodes and have any effect on their arrangement. |
static java.lang.String |
FREE_NODE_PLACEMENT_DESC
This attribure determines whether position of nodes before layout should be taken in the consideration or not. |
static MetricExpression |
HORIZONTAL_DISTANCE_DEF
The default value for HORIZONTAL_DISTANCE_DESC. |
static java.lang.String |
HORIZONTAL_DISTANCE_DESC
The horizontal distance between nodes. |
static java.lang.String |
LAYOUT_NAME
Name of this layout class. |
static java.lang.String |
LINK_TYPE_ASSOCIATION
An Association edge shows only the association between two nodes and have any effect on their arrangement. |
static java.lang.String |
LINK_TYPE_CONNECTOR
A connector edge connects two nodes and has an effect on their arrangement. |
static java.lang.String |
LINK_TYPE_DESC
This attribute can be used to specify the edge type. |
static java.lang.String |
NODE_PINNED_DESC
Determines whether the node is pinned. |
static java.lang.String |
STAFF_ELEMENT
Arranges nodes as staff elements. |
static MetricExpression |
VERTICAL_DISTANCE_DEF
The default value for VERTICAL_DISTANCE_DESC. |
static java.lang.String |
VERTICAL_DISTANCE_DESC
The vertical distance between nodes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String LAYOUT_NAME
public static final java.lang.String VERTICAL_DISTANCE_DESC
public static final MetricExpression VERTICAL_DISTANCE_DEF
VERTICAL_DISTANCE_DESC.
public static final java.lang.String HORIZONTAL_DISTANCE_DESC
public static final MetricExpression HORIZONTAL_DISTANCE_DEF
HORIZONTAL_DISTANCE_DESC.
public static java.lang.String DEFAULT_NODE_ARRANGEMENT_DESC
ARRANGEMENT_DESC to assign a node a different
arrangement style.
null
CHILDREN_BALANCE_CENTER CHILDREN_BALANCE_LEFT CHILDREN_BALANCE_RIGHT CHILDREN_LIST_LEFT CHILDREN_LIST_RIGHT CHILDREN_LIST_DOUBLE
ARRANGEMENT_DESCpublic static java.lang.String DEFAULT_NODE_ARRANGEMENT_DEF
DEFAULT_NODE_ARRANGEMENT_DEF.
public static final java.lang.String NODE_PINNED_DESC
public static final java.lang.String ARRANGEMENT_DESC
OrgChartLayout will
use the default arrangement style for this node.
The default arrangement style can be set by DEFAULT_NODE_ARRANGEMENT_DESC.
The following arrangement styles are available:
null
CHILDREN_BALANCE_CENTER CHILDREN_BALANCE_LEFT CHILDREN_BALANCE_RIGHT CHILDREN_LIST_LEFT CHILDREN_LIST_RIGHT CHILDREN_LIST_DOUBLE STAFF_ELEMENT
public static final java.lang.String CHILDREN_BALANCE_CENTER
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String CHILDREN_BALANCE_LEFT
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String CHILDREN_BALANCE_RIGHT
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String CHILDREN_LIST_LEFT
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String CHILDREN_LIST_RIGHT
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String CHILDREN_LIST_DOUBLE
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String STAFF_ELEMENT
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String COMPACT
OrgChart Layout
automatically to achieve a compact diagram.
.
ARRANGEMENT_DESC,
Constant Field Valuespublic static final java.lang.String FREE_NODE_PLACEMENT_DESC
true the user can
influence the order of the nodes using mouse.
public static final boolean FREE_NODE_PLACEMENT_DEF
LINK_TYPE_DESC,
Constant Field Valuespublic static final java.lang.String LINK_TYPE_DESC
Notice: Each node-pair can be connected by maximum one
connector edge but by an unlimited number of association edges.
public static final java.lang.String LINK_TYPE_CONNECTOR
LINK_TYPE_DESC,
Constant Field Valuespublic static final java.lang.String LINK_TYPE_ASSOCIATION
LINK_TYPE_DESC,
Constant Field Valuespublic static final java.lang.String DESCRIPTION_GRAPH_CATEGORY
public static final java.lang.String DESCRIPTION_NODE_CATEGORY
public static final java.lang.String DESCRIPTION_EDGE_CATEGORY
public static final java.lang.String ERROR_NO_TREE
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||