Class LayerMouseOverEvent

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

public class LayerMouseOverEvent extends com.jbstrap.core.event.BaseEvent
The LayerMouseOverEvent class contains the details of the layer�s mouse over event. These are the following:
  • The unique name of the current layer
  • The unique name of the current layer group
  • The current layer component
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 that triggered the mouse over event.
    Gets the layer that triggered the mouse over event.
    Gets the unique name of the layer that triggered the mouse over event.

    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

    • LayerMouseOverEvent

      public LayerMouseOverEvent()
  • Method Details

    • getName

      public String getName()
      Gets the unique name of the layer that triggered the mouse over event.
      Returns:
      The unique name of the layer
    • getGroupName

      public String getGroupName()
      Gets the unique name of the layer group that triggered the mouse over event.
      Returns:
      The unique name of the layer group
    • getLayer

      public BaseLayer<?> getLayer()
      Gets the layer that triggered the mouse over event.
      Returns:
      The layer component
    • fireEvent

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