org.openstreetmap.josm.actions.mapmode
Enum DeleteAction.DeleteMode
java.lang.Object
java.lang.Enum<DeleteAction.DeleteMode>
org.openstreetmap.josm.actions.mapmode.DeleteAction.DeleteMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DeleteAction.DeleteMode>
- Enclosing class:
- DeleteAction
private static enum DeleteAction.DeleteMode
- extends java.lang.Enum<DeleteAction.DeleteMode>
Field Summary |
private java.awt.Cursor |
c
|
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
none
public static final DeleteAction.DeleteMode none
segment
public static final DeleteAction.DeleteMode segment
node
public static final DeleteAction.DeleteMode node
node_with_references
public static final DeleteAction.DeleteMode node_with_references
way
public static final DeleteAction.DeleteMode way
way_with_references
public static final DeleteAction.DeleteMode way_with_references
way_with_nodes
public static final DeleteAction.DeleteMode way_with_nodes
c
private final java.awt.Cursor c
values
public static DeleteAction.DeleteMode[] 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 (DeleteAction.DeleteMode c : DeleteAction.DeleteMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DeleteAction.DeleteMode 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
java.lang.NullPointerException
- if the argument is null
cursor
public java.awt.Cursor cursor()
JOSM