Enum AbstractDatasetChangedEvent.DatasetEventType
- java.lang.Object
-
- java.lang.Enum<AbstractDatasetChangedEvent.DatasetEventType>
-
- org.openstreetmap.josm.data.osm.event.AbstractDatasetChangedEvent.DatasetEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractDatasetChangedEvent.DatasetEventType>
- Enclosing class:
- AbstractDatasetChangedEvent
public static enum AbstractDatasetChangedEvent.DatasetEventType extends Enum<AbstractDatasetChangedEvent.DatasetEventType>
Type of dataset changed event, returned byAbstractDatasetChangedEvent.getType()
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGESET_ID_CHANGED
The changeset id changed for a list of primitivesDATA_CHANGED
A combination of multiple eventsFILTERS_CHANGED
The filtered state changed for a list of primitivesNODE_MOVED
The lat/lon coordinates of a node have changed.PRIMITIVE_FLAGS_CHANGED
The flags changed for a primitive and have not been covered in an other eventPRIMITIVES_ADDED
Primitives have been added to this datasetPRIMITIVES_REMOVED
Primitives have been removed from this datasetRELATION_MEMBERS_CHANGED
The members of a relation have changedTAGS_CHANGED
The tags of a primitive have changedWAY_NODES_CHANGED
The nodes of a way or their order has changed
-
Constructor Summary
Constructors Modifier Constructor Description private
DatasetEventType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractDatasetChangedEvent.DatasetEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractDatasetChangedEvent.DatasetEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType DATA_CHANGED
A combination of multiple events
-
NODE_MOVED
public static final AbstractDatasetChangedEvent.DatasetEventType NODE_MOVED
The lat/lon coordinates of a node have changed.
-
PRIMITIVES_ADDED
public static final AbstractDatasetChangedEvent.DatasetEventType PRIMITIVES_ADDED
Primitives have been added to this dataset
-
PRIMITIVES_REMOVED
public static final AbstractDatasetChangedEvent.DatasetEventType PRIMITIVES_REMOVED
Primitives have been removed from this dataset
-
RELATION_MEMBERS_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType RELATION_MEMBERS_CHANGED
The members of a relation have changed
-
TAGS_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType TAGS_CHANGED
The tags of a primitive have changed
-
WAY_NODES_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType WAY_NODES_CHANGED
The nodes of a way or their order has changed
-
CHANGESET_ID_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType CHANGESET_ID_CHANGED
The changeset id changed for a list of primitives
-
FILTERS_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType FILTERS_CHANGED
The filtered state changed for a list of primitives
-
PRIMITIVE_FLAGS_CHANGED
public static final AbstractDatasetChangedEvent.DatasetEventType PRIMITIVE_FLAGS_CHANGED
The flags changed for a primitive and have not been covered in an other event
-
-
Constructor Detail
-
DatasetEventType
private DatasetEventType()
-
-
Method Detail
-
values
public static AbstractDatasetChangedEvent.DatasetEventType[] 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 (AbstractDatasetChangedEvent.DatasetEventType c : AbstractDatasetChangedEvent.DatasetEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractDatasetChangedEvent.DatasetEventType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-