lt.monarch.chart.marker
Enum LabelLayouts

java.lang.Object
  extended by java.lang.Enum<LabelLayouts>
      extended by lt.monarch.chart.marker.LabelLayouts
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LabelLayouts>

public enum LabelLayouts
extends java.lang.Enum<LabelLayouts>

Label layout types.


Enum Constant Summary
Enum Constant and Description
AUTOMATIC
          Automatic lay-outing - it places labels in free space as close to marker position as it is possible.
BOTTOM
          Bottom lay-outing - used for placing label on the bottom side from marker position.
BOTTOM_LEFT
          Bottom-left lay-outing - used for placing label on the bottom left side from marker position.
BOTTOM_RIGHT
          Bottom-right lay-outing - used for placing label on the bottom right side from marker position.
CENTER
          Center lay-outing - used for placing label on the center side from marker position.
LEFT
          Left lay-outing - used for placing label on the left side from marker position.
RIGHT
          Right lay-outing - used for placing label on the right side from marker position.
TOP
          Top lay-outing - used for placing label on the top side from marker position.
TOP_LEFT
          Top-left lay-outing - used for placing label on the top left side from marker position.
TOP_RIGHT
          Top-right lay-outing - used for placing label on the top right side from marker position.
 
Method Summary
Modifier and Type Method and Description
static LabelLayouts valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LabelLayouts[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTOMATIC

public static final LabelLayouts AUTOMATIC
Automatic lay-outing - it places labels in free space as close to marker position as it is possible. Distance from marker position depends on lay-outing step.


CENTER

public static final LabelLayouts CENTER
Center lay-outing - used for placing label on the center side from marker position.


TOP_LEFT

public static final LabelLayouts TOP_LEFT
Top-left lay-outing - used for placing label on the top left side from marker position.


TOP

public static final LabelLayouts TOP
Top lay-outing - used for placing label on the top side from marker position.


TOP_RIGHT

public static final LabelLayouts TOP_RIGHT
Top-right lay-outing - used for placing label on the top right side from marker position.


RIGHT

public static final LabelLayouts RIGHT
Right lay-outing - used for placing label on the right side from marker position.


BOTTOM_RIGHT

public static final LabelLayouts BOTTOM_RIGHT
Bottom-right lay-outing - used for placing label on the bottom right side from marker position.


BOTTOM

public static final LabelLayouts BOTTOM
Bottom lay-outing - used for placing label on the bottom side from marker position.


BOTTOM_LEFT

public static final LabelLayouts BOTTOM_LEFT
Bottom-left lay-outing - used for placing label on the bottom left side from marker position.


LEFT

public static final LabelLayouts LEFT
Left lay-outing - used for placing label on the left side from marker position.

Method Detail

values

public static LabelLayouts[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LabelLayouts c : LabelLayouts.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LabelLayouts valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null