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

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

    • tooltipopen

      public static final TooltipEventType tooltipopen
      Fired when a tooltip bound to this layer is opened.
    • tooltipclose

      public static final TooltipEventType tooltipclose
      Fired when a tooltip bound to this layer is closed.
  • Method Details

    • values

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