com.tensegrity.graphics
Class UtilitiesLineLabel

java.lang.Object
  extended bycom.tensegrity.graphics.UtilitiesLineLabel

public class UtilitiesLineLabel
extends java.lang.Object

TODO: comment

Version:
$Id: UtilitiesLineLabel.java,v 1.9 2006/04/07 18:56:04 SharokhKhani Exp $
Author:
MKegel

Field Summary
static int ANCHOR_BEGIN
           
static int ANCHOR_CENTER
           
static int ANCHOR_END
           
static int ANCHOR_FREE
           
static int PLACEMENT_CENTER
           
static int PLACEMENT_FREE
           
static int PLACEMENT_HEAD
           
static int PLACEMENT_TAIL
           
static int TYPE_CURVED
          Constant to specify the type of the CompositeLine.
static int TYPE_DYNAMIC
          Constant to specify the type of the CompositeLine.
static int TYPE_ORTHOGONAL
          Constant to specify the type of the CompositeLine.
static int TYPE_STRAIGHT
          Constant to specify the type of the CompositeLine.
 
Constructor Summary
UtilitiesLineLabel()
          Private constructor to avoid instantiation
 
Method Summary
static Coordinate getDefaultLocation(Coordinate[] coords, Coordinate[] refcoords, int[] segmenttypes, int lineMarkerBeginSize, int lineMarkerEndSize, int lineType, Size labelSize, int labelAnchor, int labelPlacement, int labelDistanceToLine, boolean obeyPlacement)
           
static Coordinate getDefaultLocation(Coordinate[] coords, Coordinate[] refcoords, int[] segmenttypes, MarkerFormat lineMarkerBegin, MarkerFormat lineMarkerEnd, int lineType, Size labelSize, int labelAnchor, int labelPlacement, int labelDistanceToLine, boolean obeyPlacement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DYNAMIC

public static final int TYPE_DYNAMIC
Constant to specify the type of the CompositeLine.

See Also:
Constant Field Values

TYPE_STRAIGHT

public static final int TYPE_STRAIGHT
Constant to specify the type of the CompositeLine.

See Also:
Constant Field Values

TYPE_ORTHOGONAL

public static final int TYPE_ORTHOGONAL
Constant to specify the type of the CompositeLine.

See Also:
Constant Field Values

TYPE_CURVED

public static final int TYPE_CURVED
Constant to specify the type of the CompositeLine.

See Also:
Constant Field Values

PLACEMENT_FREE

public static final int PLACEMENT_FREE
See Also:
Constant Field Values

PLACEMENT_HEAD

public static final int PLACEMENT_HEAD
See Also:
Constant Field Values

PLACEMENT_CENTER

public static final int PLACEMENT_CENTER
See Also:
Constant Field Values

PLACEMENT_TAIL

public static final int PLACEMENT_TAIL
See Also:
Constant Field Values

ANCHOR_FREE

public static final int ANCHOR_FREE
See Also:
Constant Field Values

ANCHOR_BEGIN

public static final int ANCHOR_BEGIN
See Also:
Constant Field Values

ANCHOR_CENTER

public static final int ANCHOR_CENTER
See Also:
Constant Field Values

ANCHOR_END

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

UtilitiesLineLabel

public UtilitiesLineLabel()
Private constructor to avoid instantiation

Method Detail

getDefaultLocation

public static final Coordinate getDefaultLocation(Coordinate[] coords,
                                                  Coordinate[] refcoords,
                                                  int[] segmenttypes,
                                                  MarkerFormat lineMarkerBegin,
                                                  MarkerFormat lineMarkerEnd,
                                                  int lineType,
                                                  Size labelSize,
                                                  int labelAnchor,
                                                  int labelPlacement,
                                                  int labelDistanceToLine,
                                                  boolean obeyPlacement)

getDefaultLocation

public static final Coordinate getDefaultLocation(Coordinate[] coords,
                                                  Coordinate[] refcoords,
                                                  int[] segmenttypes,
                                                  int lineMarkerBeginSize,
                                                  int lineMarkerEndSize,
                                                  int lineType,
                                                  Size labelSize,
                                                  int labelAnchor,
                                                  int labelPlacement,
                                                  int labelDistanceToLine,
                                                  boolean obeyPlacement)


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