Class AbstractEvent

    • Constructor Detail

      • AbstractEvent

        protected AbstractEvent​(NativeBaseEvent nativeEvent,
                                EventType type)
        Creates an event using a native event
        Parameters:
        nativeEvent - native event of this custom event
        type - type of event
    • Method Detail

      • getType

        public final EventType getType()
        Description copied from class: Event
        Returns the event type used to register this event to find handlers of the appropriate class.
        Specified by:
        getType in class Event
        Returns:
        the event type
      • getChart

        public IsChart getChart()
        Returns the chart instance, stored in the event as source.
        Returns:
        the chart instance