Interface IEventHandler

All Known Implementing Classes:
ModelEditorController

public interface IEventHandler
Interface for handling mouse and key events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onKeyEvent(javafx.scene.input.KeyEvent event)
    Handles a key event.
    void
    onMouseEvent(javafx.scene.input.MouseEvent event)
    Handles a mouse event.
  • Method Details

    • onMouseEvent

      void onMouseEvent(javafx.scene.input.MouseEvent event)
      Handles a mouse event.
      Parameters:
      event - The mouse event to handle.
    • onKeyEvent

      void onKeyEvent(javafx.scene.input.KeyEvent event)
      Handles a key event.
      Parameters:
      event - The key event to handle.