Enum Class MarkerClusterEventType

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

public enum MarkerClusterEventType extends Enum<MarkerClusterEventType> implements LeafletEventType
Enumerates the events fired by a MarkerClusterGroup in addition to the standard Leaflet layer events.
  • Enum Constant Details

    • clusterclick

      public static final MarkerClusterEventType clusterclick
      Fired when the user clicks (or taps) the marker cluster
    • clustermouseover

      public static final MarkerClusterEventType clustermouseover
      Fired when the mouse enters the marker cluster
    • clustermouseout

      public static final MarkerClusterEventType clustermouseout
      Fired when the mouse leaves the marker cluster
    • animationend

      public static final MarkerClusterEventType animationend
      Fires when marker clustering/unclustering animation has completed
    • spiderfied

      public static final MarkerClusterEventType spiderfied
      Fires when overlapping markers get spiderified (Contains cluster and markers attributes)
    • unspiderfied

      public static final MarkerClusterEventType unspiderfied
      Fires when overlapping markers get unspiderified (Contains cluster and markers attributes)
  • Method Details

    • values

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