Enum PasteTagsConflictResolverDialog.Mode
- java.lang.Object
-
- java.lang.Enum<PasteTagsConflictResolverDialog.Mode>
-
- org.openstreetmap.josm.gui.conflict.tags.PasteTagsConflictResolverDialog.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<PasteTagsConflictResolverDialog.Mode>
- Enclosing class:
- PasteTagsConflictResolverDialog
static enum PasteTagsConflictResolverDialog.Mode extends Enum<PasteTagsConflictResolverDialog.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOLVING_ONE_TAGCOLLECTION_ONLY
RESOLVING_TYPED_TAGCOLLECTIONS
-
Constructor Summary
Constructors Modifier Constructor Description private
Mode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PasteTagsConflictResolverDialog.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static PasteTagsConflictResolverDialog.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOLVING_ONE_TAGCOLLECTION_ONLY
public static final PasteTagsConflictResolverDialog.Mode RESOLVING_ONE_TAGCOLLECTION_ONLY
-
RESOLVING_TYPED_TAGCOLLECTIONS
public static final PasteTagsConflictResolverDialog.Mode RESOLVING_TYPED_TAGCOLLECTIONS
-
-
Constructor Detail
-
Mode
private Mode()
-
-
Method Detail
-
values
public static PasteTagsConflictResolverDialog.Mode[] 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 (PasteTagsConflictResolverDialog.Mode c : PasteTagsConflictResolverDialog.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasteTagsConflictResolverDialog.Mode 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
-
-