com.dlsc.flexgantt.policy.layer
Enum ICrosshairPolicy.LabelPosition

java.lang.Object
  extended by java.lang.Enum<ICrosshairPolicy.LabelPosition>
      extended by com.dlsc.flexgantt.policy.layer.ICrosshairPolicy.LabelPosition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ICrosshairPolicy.LabelPosition>
Enclosing interface:
ICrosshairPolicy

public static enum ICrosshairPolicy.LabelPosition
extends java.lang.Enum<ICrosshairPolicy.LabelPosition>

Since:
1.0
Author:
Dirk Lemmermann

Enum Constant Summary
LOWER_LEFT
          Constant used when looking up a label for the lower left corner.
LOWER_RIGHT
          Constant used when looking up a label for the lower right corner.
UPPER_LEFT
          Constant used when looking up a label for the upper left corner.
UPPER_RIGHT
          Constant used when looking up a label for the upper right corner.
 
Method Summary
static ICrosshairPolicy.LabelPosition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ICrosshairPolicy.LabelPosition[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UPPER_LEFT

public static final ICrosshairPolicy.LabelPosition UPPER_LEFT
Constant used when looking up a label for the upper left corner.

Since:
1.0
See Also:
ICrosshairPolicy.isLabelVisible(LabelPosition), ICrosshairPolicy.getLabel(Object, Object, IGanttChartModel, long, LabelPosition)

UPPER_RIGHT

public static final ICrosshairPolicy.LabelPosition UPPER_RIGHT
Constant used when looking up a label for the upper right corner.

Since:
1.0
See Also:
ICrosshairPolicy.isLabelVisible(LabelPosition), ICrosshairPolicy.getLabel(Object, Object, IGanttChartModel, long, LabelPosition)

LOWER_LEFT

public static final ICrosshairPolicy.LabelPosition LOWER_LEFT
Constant used when looking up a label for the lower left corner.

Since:
1.0
See Also:
ICrosshairPolicy.isLabelVisible(LabelPosition), ICrosshairPolicy.getLabel(Object, Object, IGanttChartModel, long, LabelPosition)

LOWER_RIGHT

public static final ICrosshairPolicy.LabelPosition LOWER_RIGHT
Constant used when looking up a label for the lower right corner.

Since:
1.0
See Also:
ICrosshairPolicy.isLabelVisible(LabelPosition), ICrosshairPolicy.getLabel(Object, Object, IGanttChartModel, long, LabelPosition)
Method Detail

values

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

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

valueOf

public static ICrosshairPolicy.LabelPosition 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