Interface ScreenMouseEvents.AfterMouseClick

Enclosing class:
ScreenMouseEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScreenMouseEvents.AfterMouseClick
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    afterMouseClick(Screen screen, Click context, boolean consumed)
    Called after a mouse click in a screen.
  • Method Details

    • afterMouseClick

      boolean afterMouseClick(Screen screen, Click context, boolean consumed)
      Called after a mouse click in a screen.
      Parameters:
      screen - the screen
      context - the context of the mouse click, containing the mouse position and button
      consumed - whether the mouse click was already consumed
      See Also:
      • GLFW.GLFW_MOUSE_BUTTON_1