public abstract class AbstractEvent extends Event
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEvent(BaseNativeEvent nativeEvent,
EventType type)
Creates an event using a native event
|
| Modifier and Type | Method and Description |
|---|---|
IsChart |
getChart()
Returns the chart instance, stored in the event as source.
|
BaseNativeEvent |
getNativeEvent()
Returns the native event instance.
|
EventType |
getType()
Returns the event type used to register this event to find handlers of the appropriate class.
|
protected AbstractEvent(BaseNativeEvent nativeEvent, EventType type)
nativeEvent - native event of this custom eventtype - type of eventpublic final EventType getType()
Eventpublic final BaseNativeEvent getNativeEvent()
public IsChart getChart()