com.tensegrity.graph.layout.edge
Class EdgeLayoutConstants

java.lang.Object
  extended bycom.tensegrity.graph.layout.edge.EdgeLayoutConstants

public class EdgeLayoutConstants
extends java.lang.Object

This class contains attributes and their default values that are used by class DefaultEdgeLayout.

Class DefaultEdgeLayout provides a path detector to route edges. It ensures that edges can be drawn without overlapping nodes by finding an appropriate path between them.
The following attributes can be used to enable the path detector and configure it:

In some cases the segments of different edges cover each other completely or in part so that it becomes difficult to distinguish between them. The DefaultEdgeLayout class provides a segment separator which is able to detect and shift these overlapping edge segments.

Forks can be used to bunch edge segments shortly before the node boundaries; By not using Forks, edges will run parallel up to node boundaries.

The following attributes help to configure the segment separator:

Building bridges at a crossing point between two edges helps to recognize the edge track better. The DefaultEdgeLayout class provides a bridge builder for this purpose.
There are several predefined bridge types and a bridge size that can be configured. The bridge builder merges several bridges into one if they are too close to each other. The edge distance attribute MIN_DISTANCE_TO_NODE_DESC has therefore a direct influence on this behavior. Please note that bridges will only be built if there is enough space to draw them completely.
The attributes listed below help to configure the bridges:

The bends of the orthogonal edges can be rounded. The DefaultEdgeLayout class uses quadrants to round the edge bends. The following attributes are provided to enable this feature and adjust the roundness of the bends:

The edge bends of simple orthogonal edges will normally be placed in the middle of the distance between the start and end points of the edges. This is usually not very convenient when the connected nodes are not perfectly aligned. This situation may occur when a user moves nodes around while modeling a graph.
The provided segment leveler may help to make the relationships clearer and the graph more orderly.

The DefaultEdgeLayout class arranges labels on the edges without changing the edge path. The labels will be arranged in such a way that they can be drawn without overlapping other labels or nodes. The position of the label will be changed only if it becomes absolutely necessary. The new position will always be on the appropriate edge.
The label arranger can be configured with following attributes:

The distance between the marker and the first and last bend of that marker can be set.
The following attributes can be used for this purpose:

Version:
$Id: EdgeLayoutConstants.java,v 1.68 2006/03/27 21:47:24 SharokhKhani Exp $
Author:
Sharokh Khani

Field Summary
static java.lang.Boolean AUTO_LABEL_PLACEMENT_DEF
          The default value for AUTO_LABEL_PLACEMENT_DESC.
static java.lang.String AUTO_LABEL_PLACEMENT_DESC
          Enables/disables automatic label placement.
static java.lang.Boolean AUTO_PATH_DETECTING_DEF
          The default value for AUTO_PATH_DETECTING_DESC.
static java.lang.String AUTO_PATH_DETECTING_DESC
          The path detector can be used to ensure drawing edges without overlapping nodes.
static java.lang.Boolean AVOID_OVERPLAPPING_DEF
          The default value for AVOID_OVERPLAPPING_DESC.
static java.lang.String AVOID_OVERPLAPPING_DESC
          Enables/disables the edge segment separator.
static java.lang.Boolean BEND_ROUNDING_DEF
          The default value for BEND_ROUNDING_DESC.
static java.lang.String BEND_ROUNDING_DESC
          Enables/disables the bend rounding of orthogonal edges.
static java.lang.String BRIDGE_FOOTING_DESC
          This attribute specifies whether the bridges are to be built for vertical edge segments or horizontal edge segments.
static java.lang.String BRIDGE_FOOTING_HORIZONTAL_SEGMENT
          The horizontal segments of the edges should be used.
static java.lang.String BRIDGE_FOOTING_VERTICAL_SEGMENT
          The vertical segments of the edges should be used.
static MetricExpression BRIDGE_HEIGHT_DEF
          The default bridge height.
static java.lang.String BRIDGE_HEIGHT_DESC
          Determines the height of all bridges.
static java.lang.String BRIDGE_STYLE_ARC
          Arc bridge style specifier.
static java.lang.String BRIDGE_STYLE_DEF
          The default value for BRIDGE_STYLE_DESC.
static java.lang.String BRIDGE_STYLE_DESC
          Specifies the style of the bridges that will be drawn at the crossing points of two edges.
static java.lang.String BRIDGE_STYLE_NONE
          None.
static java.lang.String BRIDGE_STYLE_SQUARE
          Square bridge style specifier.
static java.lang.String BRIDGE_STYLE_THREE_SIDES
          Three-sided bridge style specifier.
static java.lang.String BRIDGE_STYLE_TWO_SIDES
          Two-sided bridge style specifier.
static MetricExpression BRIDGE_WIDTH_DEF
          The default bridge width.
static java.lang.String BRIDGE_WIDTH_DESC
          Determines the width of all bridges.
static java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_ALWAYS
          The current edge path won't be changed if all criteria are met.; but an edge could be rearranged if the current route runs through a node.
static java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_DEE
          The default value for CONSIDERING_ORIGINAL_EDGE_PATH_DESC.
static java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_DESC
          This attribute determines how to deal with the edge path set beforehand by a NodeLayout.
static java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED
          The current edge path will only be taken in consideration if the current criteria are met, and the changes after user interaction do not exceed a specified limit of tolerance.
static java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_NEVER
          The current edge path will never be taken in consideration.
static MetricExpression EDGE_SEGMENT_DISTANCE_DEF
          The default value for EDGE_SEGMENT_DISTANCE_DESC.
static java.lang.String EDGE_SEGMENT_DISTANCE_DESC
          Specifies the minimum distance between parallel edge segments.
static MetricExpression FORK_LENGTH_DEF
          The default value for FORK_LENGTH_DESC.
static java.lang.String FORK_LENGTH_DESC
          Specifies the fork length, i.e. the length of the fork which will be used to bunch edges shortly before the border of the attached node.
static MetricExpression FORK_OFFSET_DEF
          The default value for FORK_OFFSET_DESC.
static java.lang.String FORK_OFFSET_DESC
          Specifies the fork offset, i.e. the offset of the fork which will be used to bunch edges shortly before the border of the attached node.
static java.lang.String LABEL_DISTANCE_TO_EDGE_DECS
          This attribute may be used to adjust the distance of the labels to the according edge segments.
static MetricExpression LABEL_DISTANCE_TO_EDGE_DEF
          The default value for LABEL_DISTANCE_TO_EDGE_DECS
static MetricExpression LABEL_OUTER_MARGIN_DEF
          The default value for LABEL_OUTER_MARGIN_DESC
static java.lang.String LABEL_OUTER_MARGIN_DESC
          This attribute specifies the minimum distance between the boundary of labels to other labels and nodes.
static java.lang.String LABEL_PLACEMENT_BESTFIT
          Using of the best fit placement strategy, the label will be assigned to the biggest available area.
static java.lang.String LABEL_PLACEMENT_FIRSTFIT
          Using of the first fit placement strategy, the label will be assigned to the first detected area that is large enough to accommodate it.
static java.lang.String LABEL_PLACEMENT_STRATEGY_DEF
          The default value for AUTO_LABEL_PLACEMENT_DESC.
static java.lang.String LABEL_PLACEMENT_STRATEGY_DESC
          Specifies the placement strategy that should be used to arrange labels.
static java.lang.String LAYOUT_NAME
          The name of this layout.
static MetricExpression LIMIT_OF_TOLERANCE_DEF
          The default value for LIMIT_OF_TOLERANCE_DESC.
static java.lang.String LIMIT_OF_TOLERANCE_DESC
          This attribute can be used to define the limit of tolerance if the routing strategy CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED is being used.
static MetricExpression MIN_DISTANCE_TO_MARKER_DEF
          The default value for MIN_DISTANCE_TO_MARKER_DESC.
static java.lang.String MIN_DISTANCE_TO_MARKER_DESC
          This attribute specifies the minimum distance between the first/last bend to the edge marker.
static MetricExpression MIN_DISTANCE_TO_NODE_DEF
          The default value for MIN_DISTANCE_TO_NODE_DESC.
static java.lang.String MIN_DISTANCE_TO_NODE_DESC
          This attribute specifies the minimum distance between edges and nodes.
static java.lang.String PATH_DETECTING_FAST
          This strategy is simple and fast.
static java.lang.String PATH_DETECTING_MIN_BEND
          The path detector will choose a path with the minimal number of bends.
static java.lang.String PATH_DETECTING_SHORTEST_PATH
          The path detector will choose the shortest path.
static java.lang.String PATH_DETECTING_STRATEGY_DESC
          This attribute may be used to specify a predefined routing strategy.
static java.lang.Boolean REASSIGN_PORTS_DEF
          The default value for REASSIGN_PORTS_DESC.
static java.lang.String REASSIGN_PORTS_DESC
          Deprecated. Please use LayoutController.setAutomaticPortReassignment(boolean) and LayoutController.getAutomaticPortReassignment() instead.
static java.lang.Boolean RESTRICT_EDGES_DEF
          The default value for RESTRICT_EDGES_DESC.
static java.lang.String RESTRICT_EDGES_DESC
          Determines whether the first/last edge segments have to be restricted in source/target node area or not.
static MetricExpression ROUNDING_VALUE_DEF
          The default value for ROUNDING_VALUE_DESC.
static java.lang.String ROUNDING_VALUE_DESC
          This attribute may be used to determine the radius of the quadrants.
static java.lang.Boolean SEGMENT_LEVELING_DEF
          The default value for SEGMENT_LEVELING_DESC.
static java.lang.String SEGMENT_LEVELING_DESC
          Enables/disables segment leveling.
 
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
The name of this layout.

See Also:
Constant Field Values

MIN_DISTANCE_TO_NODE_DESC

public static final java.lang.String MIN_DISTANCE_TO_NODE_DESC
This attribute specifies the minimum distance between edges and nodes.

See Also:
MIN_DISTANCE_TO_NODE_DEF, MIN_DISTANCE_TO_MARKER_DESC, Constant Field Values

MIN_DISTANCE_TO_NODE_DEF

public static final MetricExpression MIN_DISTANCE_TO_NODE_DEF
The default value for MIN_DISTANCE_TO_NODE_DESC.


MIN_DISTANCE_TO_MARKER_DESC

public static final java.lang.String MIN_DISTANCE_TO_MARKER_DESC
This attribute specifies the minimum distance between the first/last bend to the edge marker.

See Also:
MIN_DISTANCE_TO_MARKER_DESC, MIN_DISTANCE_TO_NODE_DESC, Constant Field Values

MIN_DISTANCE_TO_MARKER_DEF

public static final MetricExpression MIN_DISTANCE_TO_MARKER_DEF
The default value for MIN_DISTANCE_TO_MARKER_DESC.


AUTO_PATH_DETECTING_DESC

public static final java.lang.String AUTO_PATH_DETECTING_DESC
The path detector can be used to ensure drawing edges without overlapping nodes. Nodes which cannot be detoured will be ignored. Please note that the necessary distance between nodes must be at least twice the MIN_DISTANCE_TO_NODE_DESC.
This attribute can be used to enable/disable path detecting.

See Also:
AUTO_PATH_DETECTING_DEF, MIN_DISTANCE_TO_NODE_DESC, MIN_DISTANCE_TO_MARKER_DESC, Constant Field Values

AUTO_PATH_DETECTING_DEF

public static final java.lang.Boolean AUTO_PATH_DETECTING_DEF
The default value for AUTO_PATH_DETECTING_DESC.


REASSIGN_PORTS_DESC

public static final java.lang.String REASSIGN_PORTS_DESC
Deprecated. Please use LayoutController.setAutomaticPortReassignment(boolean) and LayoutController.getAutomaticPortReassignment() instead.

Specifies whether the ports are to choose dynamically to take a shorter route or not.

See Also:
REASSIGN_PORTS_DESC, Constant Field Values

REASSIGN_PORTS_DEF

public static final java.lang.Boolean REASSIGN_PORTS_DEF
The default value for REASSIGN_PORTS_DESC.


PATH_DETECTING_STRATEGY_DESC

public static final java.lang.String PATH_DETECTING_STRATEGY_DESC
This attribute may be used to specify a predefined routing strategy.

See Also:
PATH_DETECTING_FAST, PATH_DETECTING_MIN_BEND, PATH_DETECTING_SHORTEST_PATH, Constant Field Values

PATH_DETECTING_FAST

public static final java.lang.String PATH_DETECTING_FAST
This strategy is simple and fast. The path detector will choose the shortest path to go round the first obstacle for each edge. Depending on this decision, the path detector keeps a clockwise- or a counter clockwise course for all other obstacles.

See Also:
PATH_DETECTING_MIN_BEND, PATH_DETECTING_SHORTEST_PATH, Constant Field Values

PATH_DETECTING_MIN_BEND

public static final java.lang.String PATH_DETECTING_MIN_BEND
The path detector will choose a path with the minimal number of bends.

See Also:
PATH_DETECTING_MIN_BEND, PATH_DETECTING_FAST, Constant Field Values

PATH_DETECTING_SHORTEST_PATH

public static final java.lang.String PATH_DETECTING_SHORTEST_PATH
The path detector will choose the shortest path.

See Also:
PATH_DETECTING_MIN_BEND, PATH_DETECTING_FAST, Constant Field Values

CONSIDERING_ORIGINAL_EDGE_PATH_DESC

public static final java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_DESC
This attribute determines how to deal with the edge path set beforehand by a NodeLayout. null The possible values are: null

See Also:
Constant Field Values

CONSIDERING_ORIGINAL_EDGE_PATH_ALWAYS

public static final java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_ALWAYS
The current edge path won't be changed if all criteria are met.; but an edge could be rearranged if the current route runs through a node.

See Also:
CONSIDERING_ORIGINAL_EDGE_PATH_DESC, CONSIDERING_ORIGINAL_EDGE_PATH_NEVER, CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED, Constant Field Values

CONSIDERING_ORIGINAL_EDGE_PATH_NEVER

public static final java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_NEVER
The current edge path will never be taken in consideration. It will always be routed anew by this class.

See Also:
CONSIDERING_ORIGINAL_EDGE_PATH_DESC, CONSIDERING_ORIGINAL_EDGE_PATH_ALWAYS, CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED, Constant Field Values

CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED

public static final java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED
The current edge path will only be taken in consideration if the current criteria are met, and the changes after user interaction do not exceed a specified limit of tolerance.

See Also:
CONSIDERING_ORIGINAL_EDGE_PATH_DESC, CONSIDERING_ORIGINAL_EDGE_PATH_ALWAYS, CONSIDERING_ORIGINAL_EDGE_PATH_NEVER, Constant Field Values

LIMIT_OF_TOLERANCE_DESC

public static final java.lang.String LIMIT_OF_TOLERANCE_DESC
This attribute can be used to define the limit of tolerance if the routing strategy CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED is being used.

See Also:
CONSIDERING_ORIGINAL_EDGE_PATH_DESC, CONSIDERING_ORIGINAL_EDGE_PATH_LIMITED, Constant Field Values

LIMIT_OF_TOLERANCE_DEF

public static final MetricExpression LIMIT_OF_TOLERANCE_DEF
The default value for LIMIT_OF_TOLERANCE_DESC.


CONSIDERING_ORIGINAL_EDGE_PATH_DEE

public static final java.lang.String CONSIDERING_ORIGINAL_EDGE_PATH_DEE
The default value for CONSIDERING_ORIGINAL_EDGE_PATH_DESC.

See Also:
Constant Field Values

AVOID_OVERPLAPPING_DESC

public static final java.lang.String AVOID_OVERPLAPPING_DESC
Enables/disables the edge segment separator. If the value of this attribute is set, the layout instance detects all overlapped segments of the edges and shifts them by the value specified in EDGE_SEGMENT_DISTANCE_DESC.

See Also:
EDGE_SEGMENT_DISTANCE_DESC, FORK_OFFSET_DESC, FORK_LENGTH_DESC, Constant Field Values

AVOID_OVERPLAPPING_DEF

public static final java.lang.Boolean AVOID_OVERPLAPPING_DEF
The default value for AVOID_OVERPLAPPING_DESC.


RESTRICT_EDGES_DESC

public static final java.lang.String RESTRICT_EDGES_DESC
Determines whether the first/last edge segments have to be restricted in source/target node area or not.

See Also:
Constant Field Values

RESTRICT_EDGES_DEF

public static final java.lang.Boolean RESTRICT_EDGES_DEF
The default value for RESTRICT_EDGES_DESC.


EDGE_SEGMENT_DISTANCE_DESC

public static final java.lang.String EDGE_SEGMENT_DISTANCE_DESC
Specifies the minimum distance between parallel edge segments.
Notice: This attribute only has an effect if the orthogonal edge type is used and AVOID_OVERPLAPPING_DESC is set.

See Also:
CompositeLine.setType(int), EDGE_SEGMENT_DISTANCE_DEF, AVOID_OVERPLAPPING_DESC, Constant Field Values

EDGE_SEGMENT_DISTANCE_DEF

public static final MetricExpression EDGE_SEGMENT_DISTANCE_DEF
The default value for EDGE_SEGMENT_DISTANCE_DESC.


FORK_OFFSET_DESC

public static final java.lang.String FORK_OFFSET_DESC
Specifies the fork offset, i.e. the offset of the fork which will be used to bunch edges shortly before the border of the attached node.
Notice: This attribute only has an effect if the orthogonal edge type is used and AVOID_OVERPLAPPING_DESC is set.

See Also:
FORK_OFFSET_DESC, FORK_LENGTH_DESC, Constant Field Values

FORK_OFFSET_DEF

public static final MetricExpression FORK_OFFSET_DEF
The default value for FORK_OFFSET_DESC.


FORK_LENGTH_DESC

public static final java.lang.String FORK_LENGTH_DESC
Specifies the fork length, i.e. the length of the fork which will be used to bunch edges shortly before the border of the attached node.
Notice: This attribute has only an effect if the orthogonal edge type is used and AVOID_OVERPLAPPING_DESC is set.

See Also:
FORK_LENGTH_DEF, FORK_OFFSET_DESC, Constant Field Values

FORK_LENGTH_DEF

public static final MetricExpression FORK_LENGTH_DEF
The default value for FORK_LENGTH_DESC.


BRIDGE_STYLE_DESC

public static final java.lang.String BRIDGE_STYLE_DESC
Specifies the style of the bridges that will be drawn at the crossing points of two edges.
Use BRIDGE_STYLE_NONE if the bridge builder should be disabled.

See Also:
BRIDGE_STYLE_DEF, BRIDGE_STYLE_SQUARE, BRIDGE_STYLE_TWO_SIDES, BRIDGE_STYLE_THREE_SIDES, BRIDGE_STYLE_ARC, BRIDGE_STYLE_NONE, Constant Field Values

BRIDGE_STYLE_DEF

public static final java.lang.String BRIDGE_STYLE_DEF
The default value for BRIDGE_STYLE_DESC.

See Also:
Constant Field Values

BRIDGE_STYLE_SQUARE

public static final java.lang.String BRIDGE_STYLE_SQUARE
Square bridge style specifier.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_STYLE_TWO_SIDES

public static final java.lang.String BRIDGE_STYLE_TWO_SIDES
Two-sided bridge style specifier.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_STYLE_THREE_SIDES

public static final java.lang.String BRIDGE_STYLE_THREE_SIDES
Three-sided bridge style specifier.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_STYLE_ARC

public static final java.lang.String BRIDGE_STYLE_ARC
Arc bridge style specifier.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_STYLE_NONE

public static final java.lang.String BRIDGE_STYLE_NONE
None. This value disables bridge building.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_FOOTING_DESC

public static final java.lang.String BRIDGE_FOOTING_DESC
This attribute specifies whether the bridges are to be built for vertical edge segments or horizontal edge segments.

See Also:
BRIDGE_FOOTING_VERTICAL_SEGMENT, BRIDGE_FOOTING_HORIZONTAL_SEGMENT, {@} The possible values are:
  • {@link #BRIDGE_FOOTING_VERTICAL_SEGMENT}
  • {@link #BRIDGE_FOOTING_HORIZONTAL_SEGMENT}
{@
}
, Constant Field Values

BRIDGE_FOOTING_VERTICAL_SEGMENT

public static final java.lang.String BRIDGE_FOOTING_VERTICAL_SEGMENT
The vertical segments of the edges should be used.

See Also:
BRIDGE_FOOTING_DESC, Constant Field Values

BRIDGE_FOOTING_HORIZONTAL_SEGMENT

public static final java.lang.String BRIDGE_FOOTING_HORIZONTAL_SEGMENT
The horizontal segments of the edges should be used.

See Also:
BRIDGE_FOOTING_DESC, Constant Field Values

BRIDGE_WIDTH_DESC

public static final java.lang.String BRIDGE_WIDTH_DESC
Determines the width of all bridges.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_WIDTH_DEF

public static final MetricExpression BRIDGE_WIDTH_DEF
The default bridge width.

See Also:
BRIDGE_WIDTH_DESC

BRIDGE_HEIGHT_DESC

public static final java.lang.String BRIDGE_HEIGHT_DESC
Determines the height of all bridges.

See Also:
BRIDGE_STYLE_DESC, Constant Field Values

BRIDGE_HEIGHT_DEF

public static final MetricExpression BRIDGE_HEIGHT_DEF
The default bridge height.

See Also:
BRIDGE_WIDTH_DESC

BEND_ROUNDING_DESC

public static final java.lang.String BEND_ROUNDING_DESC
Enables/disables the bend rounding of orthogonal edges.

See Also:
BEND_ROUNDING_DEF, ROUNDING_VALUE_DESC, Constant Field Values

BEND_ROUNDING_DEF

public static final java.lang.Boolean BEND_ROUNDING_DEF
The default value for BEND_ROUNDING_DESC.


ROUNDING_VALUE_DESC

public static final java.lang.String ROUNDING_VALUE_DESC
This attribute may be used to determine the radius of the quadrants. Please note that the radius will be decreased if there is not enough space to draw it.

See Also:
ROUNDING_VALUE_DEF, BEND_ROUNDING_DESC, Constant Field Values

ROUNDING_VALUE_DEF

public static final MetricExpression ROUNDING_VALUE_DEF
The default value for ROUNDING_VALUE_DESC.


SEGMENT_LEVELING_DESC

public static final java.lang.String SEGMENT_LEVELING_DESC
Enables/disables segment leveling. If segment leveling is enabled, the layout shifts all edge segments that have the same source or target node onto the same level. This provides better a better visual indication of relationships.

See Also:
SEGMENT_LEVELING_DEF, Constant Field Values

SEGMENT_LEVELING_DEF

public static final java.lang.Boolean SEGMENT_LEVELING_DEF
The default value for SEGMENT_LEVELING_DESC.


AUTO_LABEL_PLACEMENT_DESC

public static final java.lang.String AUTO_LABEL_PLACEMENT_DESC
Enables/disables automatic label placement.

See Also:
AUTO_LABEL_PLACEMENT_DEF, LABEL_PLACEMENT_STRATEGY_DESC, ROUNDING_VALUE_DESC, LABEL_DISTANCE_TO_EDGE_DEF, Constant Field Values

AUTO_LABEL_PLACEMENT_DEF

public static final java.lang.Boolean AUTO_LABEL_PLACEMENT_DEF
The default value for AUTO_LABEL_PLACEMENT_DESC.


LABEL_PLACEMENT_STRATEGY_DESC

public static final java.lang.String LABEL_PLACEMENT_STRATEGY_DESC
Specifies the placement strategy that should be used to arrange labels.

See Also:
LABEL_PLACEMENT_STRATEGY_DEF, LABEL_PLACEMENT_FIRSTFIT, LABEL_PLACEMENT_BESTFIT, Constant Field Values

LABEL_PLACEMENT_FIRSTFIT

public static final java.lang.String LABEL_PLACEMENT_FIRSTFIT
Using of the first fit placement strategy, the label will be assigned to the first detected area that is large enough to accommodate it. This is the fastest placement strategy available.

See Also:
LABEL_PLACEMENT_STRATEGY_DESC, LABEL_PLACEMENT_BESTFIT, Constant Field Values

LABEL_PLACEMENT_BESTFIT

public static final java.lang.String LABEL_PLACEMENT_BESTFIT
Using of the best fit placement strategy, the label will be assigned to the biggest available area.

See Also:
LABEL_PLACEMENT_STRATEGY_DESC, LABEL_PLACEMENT_FIRSTFIT, Constant Field Values

LABEL_PLACEMENT_STRATEGY_DEF

public static final java.lang.String LABEL_PLACEMENT_STRATEGY_DEF
The default value for AUTO_LABEL_PLACEMENT_DESC.

See Also:
Constant Field Values

LABEL_OUTER_MARGIN_DESC

public static final java.lang.String LABEL_OUTER_MARGIN_DESC
This attribute specifies the minimum distance between the boundary of labels to other labels and nodes.

See Also:
LABEL_OUTER_MARGIN_DESC, LABEL_DISTANCE_TO_EDGE_DECS, Constant Field Values

LABEL_OUTER_MARGIN_DEF

public static final MetricExpression LABEL_OUTER_MARGIN_DEF
The default value for LABEL_OUTER_MARGIN_DESC


LABEL_DISTANCE_TO_EDGE_DECS

public static final java.lang.String LABEL_DISTANCE_TO_EDGE_DECS
This attribute may be used to adjust the distance of the labels to the according edge segments.

See Also:
LABEL_DISTANCE_TO_EDGE_DEF, LABEL_OUTER_MARGIN_DESC, Constant Field Values

LABEL_DISTANCE_TO_EDGE_DEF

public static final MetricExpression LABEL_DISTANCE_TO_EDGE_DEF
The default value for LABEL_DISTANCE_TO_EDGE_DECS



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