com.dlsc.flexgantt.swing.layer.timeline
Enum TimelineObjectSelectionEvent.ID

java.lang.Object
  extended by java.lang.Enum<TimelineObjectSelectionEvent.ID>
      extended by com.dlsc.flexgantt.swing.layer.timeline.TimelineObjectSelectionEvent.ID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimelineObjectSelectionEvent.ID>
Enclosing class:
TimelineObjectSelectionEvent

public static enum TimelineObjectSelectionEvent.ID
extends java.lang.Enum<TimelineObjectSelectionEvent.ID>

An event identifier used for distinguishing between different types of events (added objects, removed objects).

Since:
1.0

Enum Constant Summary
TIMELINE_OBJECTS_ADDED
          An ID used when timeline objects have been added to the selection model.
TIMELINE_OBJECTS_REMOVED
          An ID used when timeline objects have been removed from the selection model.
 
Method Summary
static TimelineObjectSelectionEvent.ID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimelineObjectSelectionEvent.ID[] 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

TIMELINE_OBJECTS_ADDED

public static final TimelineObjectSelectionEvent.ID TIMELINE_OBJECTS_ADDED
An ID used when timeline objects have been added to the selection model.

Since:
1.0

TIMELINE_OBJECTS_REMOVED

public static final TimelineObjectSelectionEvent.ID TIMELINE_OBJECTS_REMOVED
An ID used when timeline objects have been removed from the selection model.

Since:
1.0
Method Detail

values

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

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

valueOf

public static TimelineObjectSelectionEvent.ID 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