Package org.openstreetmap.josm.tools
Enum OsmPrimitiveImageProvider.Options
- java.lang.Object
-
- java.lang.Enum<OsmPrimitiveImageProvider.Options>
-
- org.openstreetmap.josm.tools.OsmPrimitiveImageProvider.Options
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OsmPrimitiveImageProvider.Options>
- Enclosing class:
- OsmPrimitiveImageProvider
public static enum OsmPrimitiveImageProvider.Options extends java.lang.Enum<OsmPrimitiveImageProvider.Options>
Options used inOsmPrimitiveImageProvider.getResource(OsmPrimitive, Collection)
.- Since:
- 15889
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_DEFAULT
Exclude default icon forOsmPrimitiveType
fromImageProvider.get(OsmPrimitiveType)
NO_DEPRECATED
Exclude icon indicating deprecated tag usage.NO_PRESETS
Exclude tagging preset icons.NO_WAY_PRESETS
Exclude tagging preset icons for ways.
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.Collection<OsmPrimitiveImageProvider.Options>
DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description private
Options()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OsmPrimitiveImageProvider.Options
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OsmPrimitiveImageProvider.Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_DEPRECATED
public static final OsmPrimitiveImageProvider.Options NO_DEPRECATED
Exclude icon indicating deprecated tag usage.
-
NO_DEFAULT
public static final OsmPrimitiveImageProvider.Options NO_DEFAULT
Exclude default icon forOsmPrimitiveType
fromImageProvider.get(OsmPrimitiveType)
-
NO_PRESETS
public static final OsmPrimitiveImageProvider.Options NO_PRESETS
Exclude tagging preset icons.
-
NO_WAY_PRESETS
public static final OsmPrimitiveImageProvider.Options NO_WAY_PRESETS
Exclude tagging preset icons for ways.
-
-
Field Detail
-
DEFAULT
static final java.util.Collection<OsmPrimitiveImageProvider.Options> DEFAULT
-
-
Constructor Detail
-
Options
private Options()
-
-
Method Detail
-
values
public static OsmPrimitiveImageProvider.Options[] 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 (OsmPrimitiveImageProvider.Options c : OsmPrimitiveImageProvider.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OsmPrimitiveImageProvider.Options 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
-
-