Enum PopupManager.FeatureTypeChangeMode
- java.lang.Object
-
- java.lang.Enum<PopupManager.FeatureTypeChangeMode>
-
- com.esri.arcgisruntime.mapping.popup.PopupManager.FeatureTypeChangeMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PopupManager.FeatureTypeChangeMode>
- Enclosing class:
- PopupManager
public static enum PopupManager.FeatureTypeChangeMode extends java.lang.Enum<PopupManager.FeatureTypeChangeMode>
Specifies the way that a feature type change should occur. When changing a feature type, the new type will typically have a prototype with default values. Either all of the current values can be reset to the default values of the prototype, or all current values can be kept where possible (some values may not be allowed in the new feature type, in which case they will be set to the default).- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEEP_VALUES
Keeps all applicable current field values.RESET_TO_DEFAULTS
Resets all fields to the default values defined in the feature template prototype.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PopupManager.FeatureTypeChangeMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PopupManager.FeatureTypeChangeMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESET_TO_DEFAULTS
public static final PopupManager.FeatureTypeChangeMode RESET_TO_DEFAULTS
Resets all fields to the default values defined in the feature template prototype.- Since:
- 100.0.0
-
KEEP_VALUES
public static final PopupManager.FeatureTypeChangeMode KEEP_VALUES
Keeps all applicable current field values. If the value is not allowed in the new feature type, then it will be set to null.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static PopupManager.FeatureTypeChangeMode[] 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 (PopupManager.FeatureTypeChangeMode c : PopupManager.FeatureTypeChangeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PopupManager.FeatureTypeChangeMode 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
-
-