java.lang.Object
java.lang.Enum<ElementType>
com.flowingcode.vaadin.addons.googlemaps.maptypestyle.ElementType
All Implemented Interfaces:
Serializable, Comparable<ElementType>, java.lang.constant.Constable

public enum ElementType extends Enum<ElementType>
Enum representing supported element types. Elements are subdivisions of a feature.
  • Enum Constant Details

    • ALL

      public static final ElementType ALL
      Selects all elements of the specified feature. Is the default option.
    • GEOMETRY

      public static final ElementType GEOMETRY
      Selects all geometric elements of the specified feature.
    • GEOMETRY_FILL

      public static final ElementType GEOMETRY_FILL
      Selects only the fill of the feature's geometry.
    • GEOMETRY_STROKE

      public static final ElementType GEOMETRY_STROKE
      Selects only the stroke of the feature's geometry.
    • LABELS

      public static final ElementType LABELS
      Selects the textual labels associated with the specified feature.
    • LABELS_ICON

      public static final ElementType LABELS_ICON
      Selects only the icon displayed within the feature's label.
    • LABELS_TEXT

      public static final ElementType LABELS_TEXT
      Selects only the text of the label.
    • LABELS_TEXT_FILL

      public static final ElementType 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

      public static final ElementType LABELS_TEXT_STROKE
      Selects only the stroke of the label's text.
  • Method Details

    • values

      public static ElementType[] 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

      public static ElementType 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 name
      NullPointerException - if the argument is null