Package com.jbstrap.core.event
Class ChartClickEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.ChartClickEvent
This class contains the data of the basic click mouse event for the Chart component.
These are the following:
- The client on which the event occurred
- The ChartCanvas instance witch event occured
- The chart name witch event occured
- The chart instance witch wvwnt occured
- The event's unique ID
- The series name witch event occured
- The series instance witch event occured
- The record index witch event occured
- The record instance witch event occured
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
BaseChart<?>
getChart()
Gets the chart that triggered the event.Gets the chart canvas component that triggered the event.Gets the record the user clicked onGets the record index the user clicked onGets the series instance the user clicked onThe name of the series the user clicked onMethods inherited from class com.jbstrap.core.event.BaseEvent
getClient, getComponent, getEventId, getEventType, getSenderId
-
Constructor Details
-
ChartClickEvent
public ChartClickEvent()
-
-
Method Details
-
getChartCanvas
Gets the chart canvas component that triggered the event.- Returns:
- The chart canvas component that triggered the event
-
getChart
Gets the chart that triggered the event.- Returns:
- The chart instance that triggered the event
-
getSeriesName
The name of the series the user clicked on- Returns:
- The name of the series the user clicked on
-
getSeries
Gets the series instance the user clicked on- Returns:
- The series instance the user clicked on
-
getRecordIndex
Gets the record index the user clicked on- Returns:
- The index of the record the user clicked on
-
getRecord
Gets the record the user clicked on- Returns:
- The record the user clicked on
-
fireEvent
public void fireEvent()
-