Package com.esri.arcgisruntime.layers
Enum FeatureLayer.SelectionMode
- java.lang.Object
-
- java.lang.Enum<FeatureLayer.SelectionMode>
-
- com.esri.arcgisruntime.layers.FeatureLayer.SelectionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FeatureLayer.SelectionMode>
- Enclosing class:
- FeatureLayer
public static enum FeatureLayer.SelectionMode extends Enum<FeatureLayer.SelectionMode>
Represents the modes used for selecting features.- Since:
- 100.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureLayer.SelectionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureLayer.SelectionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final FeatureLayer.SelectionMode ADD
Adds features to the current selection set.
-
NEW
public static final FeatureLayer.SelectionMode NEW
Creates a new selection set, discarding the current selection set.
-
SUBTRACT
public static final FeatureLayer.SelectionMode SUBTRACT
Removes features from the current selection set.
-
-
Method Detail
-
values
public static FeatureLayer.SelectionMode[] 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 (FeatureLayer.SelectionMode c : FeatureLayer.SelectionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureLayer.SelectionMode 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
-
-