Enum ElementType
- All Implemented Interfaces:
Serializable,Comparable<ElementType>,java.lang.constant.Constable
Enum representing supported element types. Elements are subdivisions of a feature.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelects all elements of the specified feature.Selects all geometric elements of the specified feature.Selects only the fill of the feature's geometry.Selects only the stroke of the feature's geometry.Selects the textual labels associated with the specified feature.Selects only the icon displayed within the feature's label.Selects only the text of the label.Selects only the fill of the label.Selects only the stroke of the label's text. -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementTypeReturns the enum constant of this type with the specified name.static ElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
Selects all elements of the specified feature. Is the default option. -
GEOMETRY
Selects all geometric elements of the specified feature. -
GEOMETRY_FILL
Selects only the fill of the feature's geometry. -
GEOMETRY_STROKE
Selects only the stroke of the feature's geometry. -
LABELS
Selects the textual labels associated with the specified feature. -
LABELS_ICON
Selects only the icon displayed within the feature's label. -
LABELS_TEXT
Selects only the text of the label. -
LABELS_TEXT_FILL
Selects only the fill of the label. The fill of a label is typically rendered as a colored outline that surrounds the label text. -
LABELS_TEXT_STROKE
Selects only the stroke of the label's text.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-