Class LayerDrawnEvent

java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.jbmap.events.LayerDrawnEvent

public class LayerDrawnEvent extends com.jbstrap.core.event.BaseEvent
A LayerDrawnEvent class contains the layer drawing event. These are the following:
  • The name of the layer clicked on
  • The name of the layer group clicked on
  • The name of the layer clicked on
Since:
4.0
  • Field Summary

    Fields inherited from class com.jbstrap.core.event.BaseEvent

    client, eventType, senderId
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Gets the unique name of the layer group.
    Gets the layer component.
    Gets the unique name of the layer.

    Methods inherited from class com.jbstrap.core.event.BaseEvent

    b, b, getClient, getComponent, getEventId, getEventType, getSenderId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LayerDrawnEvent

      public LayerDrawnEvent()
  • Method Details

    • getName

      public String getName()
      Gets the unique name of the layer.
      Returns:
      The unique name of the layer
    • getGroupName

      public String getGroupName()
      Gets the unique name of the layer group.
      Returns:
      The unique name of the layer group
    • getLayer

      public Layer<?> getLayer()
      Gets the layer component.
      Returns:
      The layer component
    • fireEvent

      public void fireEvent()
      Specified by:
      fireEvent in class com.jbstrap.core.event.BaseEvent