Enum Class LeafletMapVariant

java.lang.Object
java.lang.Enum<LeafletMapVariant>
org.vaadin.addons.componentfactory.leaflet.LeafletMapVariant
All Implemented Interfaces:
Serializable, Comparable<LeafletMapVariant>, Constable

public enum LeafletMapVariant extends Enum<LeafletMapVariant>
Set of theme variants applicable to the LeafletMap component.
  • Enum Constant Details

    • LUMO_DARK

      public static final LeafletMapVariant LUMO_DARK
      Dark Lumo theme variant.
    • LUMO_LIGHT

      public static final LeafletMapVariant LUMO_LIGHT
      Light Lumo theme variant.
  • Method Details

    • values

      public static LeafletMapVariant[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LeafletMapVariant valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getVariantName

      public String getVariantName()
      Gets the theme variant name applied to the component.
      Returns:
      the variant name