com.dlsc.flexgantt.util
Enum LabelType

java.lang.Object
  extended by java.lang.Enum<LabelType>
      extended by com.dlsc.flexgantt.util.LabelType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LabelType>

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

An enumerator that contains values for specifiying different types of labels.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
ILabelPolicy.getLabel(com.dlsc.flexgantt.model.gantt.IRelationship, com.dlsc.flexgantt.model.gantt.IGanttChartModel), ILabelPolicy.getLabel(Object, Object, com.dlsc.flexgantt.model.gantt.IGanttChartModel, LabelType)

Enum Constant Summary
DESCRIPTION
          Value for getting / setting the description of an object.
DRAG_INFO_TITLE
          Value for getting / setting the drag info title of an object.
NAME
          Value for getting / setting the name of an object.
POPUP_TITLE
          Value for getting / setting the popup title of an object.
STATUS
          Value for getting / setting the status of an object.
TOOLTIP
          Value for getting / setting the tooltip of an object.
 
Method Summary
static LabelType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LabelType[] 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

NAME

public static final LabelType NAME
Value for getting / setting the name of an object.

Since:
1.0

TOOLTIP

public static final LabelType TOOLTIP
Value for getting / setting the tooltip of an object.

Since:
1.0

DESCRIPTION

public static final LabelType DESCRIPTION
Value for getting / setting the description of an object.

Since:
1.0

STATUS

public static final LabelType STATUS
Value for getting / setting the status of an object.

Since:
1.0

POPUP_TITLE

public static final LabelType POPUP_TITLE
Value for getting / setting the popup title of an object.

Since:
1.0

DRAG_INFO_TITLE

public static final LabelType DRAG_INFO_TITLE
Value for getting / setting the drag info title of an object.

Since:
1.0
Method Detail

values

public static final LabelType[] 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(LabelType c : LabelType.values())
        System.out.println(c);

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

valueOf

public static LabelType 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