Interface HasEvents

    • Method Detail

      • getEventsOptionHandler

        EventsOptionHandler getEventsOptionHandler()
        Returns a event handler handler instance to use in the default methods of this interface.
        Returns:
        a event handler handler instance
      • setEvents

        default void setEvents​(Event... events)
        Sets the browser events that the chart should listen to.
        Parameters:
        events - the browser events that the chart should listen to.
      • setEvents

        default void setEvents​(Set<Event> events)
        Sets the browser events that the legend should listen to.
        Parameters:
        events - the browser events that the legend should listen to.
      • getEvents

        default Set<Event> getEvents()
        Returns the browser events that the chart should listen to.
        Specified by:
        getEvents in interface IsDefaultEventHandler
        Returns:
        the browser events that the chart should listen to.