java.lang.Object
java.lang.Enum<PopupEventType>
org.vaadin.addons.componentfactory.leaflet.layer.events.types.PopupEventType
All Implemented Interfaces:
Serializable, Comparable<PopupEventType>, Constable, LeafletEventType

public enum PopupEventType extends Enum<PopupEventType> implements LeafletEventType
Enumeration of the popup related Leaflet event names fired when a popup is opened or closed.
  • Enum Constant Details

    • popupopen

      public static final PopupEventType popupopen
      Fired when a popup bound to this layer is opened
    • popupclose

      public static final PopupEventType popupclose
      Fired when a popup bound to this layer is closed
  • Method Details

    • values

      public static PopupEventType[] 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 PopupEventType 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
    • getLeafletEvent

      public String getLeafletEvent()
      Returns the Leaflet event name of this event type.
      Specified by:
      getLeafletEvent in interface LeafletEventType
      Returns:
      the Leaflet event name