Package com.esri.arcgisruntime.layers
Enum GroupVisibilityMode
- java.lang.Object
-
- java.lang.Enum<GroupVisibilityMode>
-
- com.esri.arcgisruntime.layers.GroupVisibilityMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GroupVisibilityMode>
public enum GroupVisibilityMode extends java.lang.Enum<GroupVisibilityMode>
Defines the visibility modes on a group layer.- Since:
- 100.9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUSIVE
Only one child is visible at a time.INDEPENDENT
Each child manages its visibility independent of the parent group.INHERITED
Each child inherits the visibility of its parent group.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupVisibilityMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GroupVisibilityMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEPENDENT
public static final GroupVisibilityMode INDEPENDENT
Each child manages its visibility independent of the parent group.Toggling the parent's visibility should not change the child's visibility. In a table of contents, the children might be displayed with check boxes to change their visibility.
- Since:
- 100.9.0
-
INHERITED
public static final GroupVisibilityMode INHERITED
Each child inherits the visibility of its parent group.The visibility of children should match that of the parent. In a table of contents, the children might be displayed with checkboxes whose values are bound to the parent or disabled. Alternatively, the children may be hidden from the table of contents since they effectively operate as a single layer.
- Since:
- 100.9.0
-
EXCLUSIVE
public static final GroupVisibilityMode EXCLUSIVE
Only one child is visible at a time.When one child is made visible, all other children should be made not visible. In a table of contents, the children should be displayed with radio buttons.
- Since:
- 100.9.0
-
-
Method Detail
-
values
public static GroupVisibilityMode[] 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 (GroupVisibilityMode c : GroupVisibilityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupVisibilityMode 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
-
-