net.refractions.udig.tools.edit.support
Enum EditBlackboardEvent.EventType

java.lang.Object
  extended by java.lang.Enum<EditBlackboardEvent.EventType>
      extended by net.refractions.udig.tools.edit.support.EditBlackboardEvent.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EditBlackboardEvent.EventType>
Enclosing class:
EditBlackboardEvent

public static enum EditBlackboardEvent.EventType
extends java.lang.Enum<EditBlackboardEvent.EventType>


Enum Constant Summary
ADD_GEOMS
          One or more Geometries were added to the blackboard.
ADD_POINT
          A point was added to the blackboard.
ADD_POINT_TO_MANY
          A special case where a single point was added to many geometries.
CLEARED
           
MOVE_POINT
          A point was moved in the blackboard.
REMOVE_GEOMS
          One or more Geometries were removed from the blackboard.
REMOVE_POINT
          A point was removed from the blackboard.
SELECTION
          The Selection has changed The source is a EditBlackboard The OldValue is the previous selection The NewValue is a the new selection
SET_GEOMS
          The geometries in the EditBlackboard were set.
TRANFORMATION
          The Map to Screen transform has changed The source is a EditBlackboard The OldValue is the previous AffineTransform of the Blackboard The NewValue is a Map> where the key is the original point and the value is the new location(s) of the point after translation on a zoom in a single point can become more than one point.
 
Method Summary
static EditBlackboardEvent.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EditBlackboardEvent.EventType[] 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

ADD_POINT

public static final EditBlackboardEvent.EventType ADD_POINT
A point was added to the blackboard.


REMOVE_POINT

public static final EditBlackboardEvent.EventType REMOVE_POINT
A point was removed from the blackboard.


MOVE_POINT

public static final EditBlackboardEvent.EventType MOVE_POINT
A point was moved in the blackboard.


ADD_GEOMS

public static final EditBlackboardEvent.EventType ADD_GEOMS
One or more Geometries were added to the blackboard.


SET_GEOMS

public static final EditBlackboardEvent.EventType SET_GEOMS
The geometries in the EditBlackboard were set.


REMOVE_GEOMS

public static final EditBlackboardEvent.EventType REMOVE_GEOMS
One or more Geometries were removed from the blackboard.


TRANFORMATION

public static final EditBlackboardEvent.EventType TRANFORMATION
The Map to Screen transform has changed


SELECTION

public static final EditBlackboardEvent.EventType SELECTION
The Selection has changed


ADD_POINT_TO_MANY

public static final EditBlackboardEvent.EventType ADD_POINT_TO_MANY
A special case where a single point was added to many geometries.


CLEARED

public static final EditBlackboardEvent.EventType CLEARED
Method Detail

values

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

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

valueOf

public static EditBlackboardEvent.EventType 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