Enum TagEditHelper.RecentExisting
- java.lang.Object
-
- java.lang.Enum<TagEditHelper.RecentExisting>
-
- org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper.RecentExisting
-
- All Implemented Interfaces:
Serializable
,Comparable<TagEditHelper.RecentExisting>
- Enclosing class:
- TagEditHelper
private static enum TagEditHelper.RecentExisting extends Enum<TagEditHelper.RecentExisting>
What to do with recent tags where keys already exist
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RecentExisting()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TagEditHelper.RecentExisting
valueOf(String name)
Returns the enum constant of this type with the specified name.static TagEditHelper.RecentExisting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE
public static final TagEditHelper.RecentExisting ENABLE
-
DISABLE
public static final TagEditHelper.RecentExisting DISABLE
-
HIDE
public static final TagEditHelper.RecentExisting HIDE
-
-
Constructor Detail
-
RecentExisting
private RecentExisting()
-
-
Method Detail
-
values
public static TagEditHelper.RecentExisting[] 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 (TagEditHelper.RecentExisting c : TagEditHelper.RecentExisting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TagEditHelper.RecentExisting 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
-
-