Class SubtitleEnterEvent

  • All Implemented Interfaces:
    HasNativeEvent

    public final class SubtitleEnterEvent
    extends AbstractEvent
    Event which is fired when the user enters on the subtitle of the chart.
    Author:
    Andrea "Stock" Stocchero
    • Field Detail

      • TYPE

        public static final EventType TYPE
        Event type
    • Constructor Detail

      • SubtitleEnterEvent

        public SubtitleEnterEvent​(NativeAbstractMouseEvent nativeEvent,
                                  Subtitle item)
        Creates the event with subtitle related to the enter
        Parameters:
        nativeEvent - native event of this custom event
        item - subtitle related to the enter
    • Method Detail

      • dispatch

        protected void dispatch​(EventHandler handler)
        Description copied from class: Event
        Implemented by subclasses to dispatch event on the handler.
        Specified by:
        dispatch in class Event
        Parameters:
        handler - handler instance
      • getItem

        public final T getItem()
        Returns the title related to the click
        Returns:
        the title related to the click