public final class DatasetRangeSelectionEvent extends AbstractEvent
DatasetsItemsSelector.ID plugin.| Constructor and Description |
|---|
DatasetRangeSelectionEvent(BaseNativeEvent nativeEvent,
ScaleValueItem from,
ScaleValueItem to)
Creates the event with start and end values of selected scale
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.
|
ScaleValueItem |
getFrom()
Returns the starting value of selected scale.
|
ScaleValueItem |
getTo()
Returns the ending value of selected scale.
|
getChart, getNativeEvent, getTypepublic static final EventType TYPE
public DatasetRangeSelectionEvent(BaseNativeEvent nativeEvent, ScaleValueItem from, ScaleValueItem to)
nativeEvent - native event of this custom eventfrom - starting value of selected scaleto - ending value of selected scalepublic ScaleValueItem getFrom()
public ScaleValueItem getTo()
protected void dispatch(EventHandler handler)
Event