Package com.jbstrap.jbmap.events
Class LayerClickEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.jbmap.events.LayerClickEvent
public class LayerClickEvent
extends com.jbstrap.core.event.BaseEvent
The LayerClickEvent class contains the details of the click 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
-
Method Summary
Methods inherited from class com.jbstrap.core.event.BaseEvent
b, b, getClient, getComponent, getEventId, getEventType, getSenderId
-
Constructor Details
-
LayerClickEvent
public LayerClickEvent()
-
-
Method Details
-
getName
Gets the unique name of the layer clicked on.- Returns:
- The unique name of the layer clicked on
-
getGroupName
Gets the unique name of the layer group clicked on.- Returns:
- The unique name of the layer clicked on
-
getLayer
Gets the layer component clicked on.- Returns:
- The layer component clicked on
-
fireEvent
public void fireEvent()- Specified by:
fireEvent
in classcom.jbstrap.core.event.BaseEvent
-