Enum MapMarker.TextStyle.InstantiationErrorCode
Package com.here.sdk.mapview
Enum MapMarker.TextStyle.InstantiationErrorCode
- java.lang.Object
-
- java.lang.Enum<MapMarker.TextStyle.InstantiationErrorCode>
-
- com.here.sdk.mapview.MapMarker.TextStyle.InstantiationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapMarker.TextStyle.InstantiationErrorCode>
- Enclosing class:
- MapMarker.TextStyle
public static enum MapMarker.TextStyle.InstantiationErrorCode extends java.lang.Enum<MapMarker.TextStyle.InstantiationErrorCode>
Describes a reason for failing to create a
MapMarker.TextStyle.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE_TEXT_PLACEMENT_VALUESInstantiation parameters contain unsupported list with duplicateMapMarker.TextStyle.Placemententries.EMPTY_TEXT_PLACEMENT_LISTInstantiation parameters contain unsupported empty list without anyMapMarker.TextStyle.Placemententries.NEGATIVE_TEXT_OUTLINE_SIZEInstantiation parameters contain unsupported negative text outline size.NON_POSITIVE_TEXT_SIZEInstantiation parameters contain unsupported non positive text size.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapMarker.TextStyle.InstantiationErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapMarker.TextStyle.InstantiationErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_POSITIVE_TEXT_SIZE
public static final MapMarker.TextStyle.InstantiationErrorCode NON_POSITIVE_TEXT_SIZE
Instantiation parameters contain unsupported non positive text size.
-
NEGATIVE_TEXT_OUTLINE_SIZE
public static final MapMarker.TextStyle.InstantiationErrorCode NEGATIVE_TEXT_OUTLINE_SIZE
Instantiation parameters contain unsupported negative text outline size.
-
EMPTY_TEXT_PLACEMENT_LIST
public static final MapMarker.TextStyle.InstantiationErrorCode EMPTY_TEXT_PLACEMENT_LIST
Instantiation parameters contain unsupported empty list without any
MapMarker.TextStyle.Placemententries.
-
DUPLICATE_TEXT_PLACEMENT_VALUES
public static final MapMarker.TextStyle.InstantiationErrorCode DUPLICATE_TEXT_PLACEMENT_VALUES
Instantiation parameters contain unsupported list with duplicate
MapMarker.TextStyle.Placemententries.
-
-
Method Detail
-
values
public static MapMarker.TextStyle.InstantiationErrorCode[] 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 (MapMarker.TextStyle.InstantiationErrorCode c : MapMarker.TextStyle.InstantiationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapMarker.TextStyle.InstantiationErrorCode 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
-
-