public enum TaggingPresetType extends java.lang.Enum<TaggingPresetType>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
iconName |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static TaggingPresetType |
forPrimitive(OsmPrimitive p) |
static TaggingPresetType |
forPrimitiveType(OsmPrimitiveType type) |
static TaggingPresetType |
fromString(java.lang.String type) |
java.lang.String |
getIconName() |
java.lang.String |
getName() |
static TaggingPresetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaggingPresetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaggingPresetType NODE
public static final TaggingPresetType WAY
public static final TaggingPresetType RELATION
public static final TaggingPresetType CLOSEDWAY
private final java.lang.String iconName
private final java.lang.String name
public static TaggingPresetType[] values()
for (TaggingPresetType c : TaggingPresetType.values()) System.out.println(c);
public static TaggingPresetType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getIconName()
public java.lang.String getName()
public static TaggingPresetType forPrimitive(OsmPrimitive p)
public static TaggingPresetType forPrimitiveType(OsmPrimitiveType type)
public static TaggingPresetType fromString(java.lang.String type)