Enum Class GridLayer.Events

java.lang.Object
java.lang.Enum<GridLayer.Events>
org.vaadin.addons.componentfactory.leaflet.layer.groups.GridLayer.Events
All Implemented Interfaces:
Serializable, Comparable<GridLayer.Events>, Constable, LeafletEventType
Enclosing class:
GridLayer

public static enum GridLayer.Events extends Enum<GridLayer.Events> implements LeafletEventType
The event types fired by a GridLayer during the loading and unloading of its tiles.
  • Enum Constant Details

    • load

      public static final GridLayer.Events load
      Fired when the grid layer loaded all visible tiles.
    • tileunload

      public static final GridLayer.Events tileunload
      Fired when a tile is removed (e.g. when a tile goes off the screen).
    • tileloadstart

      public static final GridLayer.Events tileloadstart
      Fired when a tile is requested and starts loading.
    • tileerror

      public static final GridLayer.Events tileerror
      Fired when there is an error loading a tile.
    • tileload

      public static final GridLayer.Events tileload
      Fired when a tile loads.
    • loading

      public static final GridLayer.Events loading
      Fired when the grid layer starts loading tiles.
  • Method Details

    • values

      public static GridLayer.Events[] 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 GridLayer.Events 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