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
static enum DeleteAction.DeleteMode extends java.lang.Enum<DeleteAction.DeleteMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description node
node_with_references
none
segment
way
way_with_nodes
way_with_references
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Cursor
c
-
Constructor Summary
Constructors Modifier Constructor Description private
DeleteMode(java.lang.String cursorName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Cursor
cursor()
Returns the mode cursor.static DeleteAction.DeleteMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeleteAction.DeleteMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Field Detail
-
c
private final java.awt.Cursor c
-
-
Constructor Detail
-
DeleteMode
private DeleteMode(java.lang.String cursorName)
-
-
Method Detail
-
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 namejava.lang.NullPointerException
- if the argument is null
-
cursor
public java.awt.Cursor cursor()
Returns the mode cursor.- Returns:
- the mode cursor
-
-