Interface ActionListener

  • All Superinterfaces:
    java.util.EventListener

    public interface ActionListener
    extends java.util.EventListener
    This is an action listener used by scripts or other classes Events sent by a threaded action listener, only dispatched while a script is running. Listener is stopped on script stop, and reset on new script start. New Injections required to use
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onAction​(MenuRow eventRow, int mouseX, int mouseY)
      Event method called with the menu row for the event and the mouse X and mouse Y values
    • Method Detail

      • onAction

        default void onAction​(MenuRow eventRow,
                              int mouseX,
                              int mouseY)
        Event method called with the menu row for the event and the mouse X and mouse Y values
        Parameters:
        eventRow - MenuRow representing the action event
        mouseX - mouse X
        mouseY - mouse Y