Interface IMouseEventRelay


public interface IMouseEventRelay
Widget toolkit-independent interface to relay for mouse events.
Belongs to CDK module:
control
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    mouseClickedDouble(int screenCoordX, int screenCoordY)
    Event to signal that a mouse button has been double clicked.
    void
    mouseClickedDown(int screenCoordX, int screenCoordY)
    Event to signal that the left mouse button has been pushed but not released yet.
    void
    mouseClickedDownRight(int screenCoordX, int screenCoordY)
    Event to signal that the right mouse button has been pushed but not released yet.
    void
    mouseClickedUp(int screenCoordX, int screenCoordY)
    Event to signal that the left mouse button has been released.
    void
    mouseClickedUpRight(int screenCoordX, int screenCoordY)
    Event to signal that the right mouse button has been released.
    void
    mouseDrag(int screenCoordXFrom, int screenCoordYFrom, int screenCoordXTo, int screenCoordYTo)
    Event to signal that a mouse has been dragged from one point to a next.
    void
    mouseEnter(int screenCoordX, int screenCoordY)
     
    void
    mouseExit(int screenCoordX, int screenCoordY)
     
    void
    mouseMove(int screenCoordX, int screenCoordY)
    Event to signal that a mouse has been moved to the new coordinates.
    void
    Event to signal that the mouse wheel has been rotated a certain amount backward.
    void
    mouseWheelMovedForward(int rotation)
    Event to signal that the mouse wheel has been rotated a certain amount forward.
  • Method Details

    • mouseClickedUp

      void mouseClickedUp(int screenCoordX, int screenCoordY)
      Event to signal that the left mouse button has been released.
      Parameters:
      screenCoordX - the x part of the screen coordinate where the event happened.
      screenCoordY - the y part of the screen coordinate where the event happened.
    • mouseClickedDown

      void mouseClickedDown(int screenCoordX, int screenCoordY)
      Event to signal that the left mouse button has been pushed but not released yet.
      Parameters:
      screenCoordX - the x part of the screen coordinate where the event happened.
      screenCoordY - the y part of the screen coordinate where the event happened.
    • mouseClickedDownRight

      void mouseClickedDownRight(int screenCoordX, int screenCoordY)
      Event to signal that the right mouse button has been pushed but not released yet.
      Parameters:
      screenCoordX - the x part of the screen coordinate where the event happened.
      screenCoordY - the y part of the screen coordinate where the event happened.
    • mouseClickedUpRight

      void mouseClickedUpRight(int screenCoordX, int screenCoordY)
      Event to signal that the right mouse button has been released.
      Parameters:
      screenCoordX - the x part of the screen coordinate where the event happened.
      screenCoordY - the y part of the screen coordinate where the event happened.
    • mouseClickedDouble

      void mouseClickedDouble(int screenCoordX, int screenCoordY)
      Event to signal that a mouse button has been double clicked.
      Parameters:
      screenCoordX - the x part of the screen coordinate where the event happened.
      screenCoordY - the y part of the screen coordinate where the event happened.
    • mouseMove

      void mouseMove(int screenCoordX, int screenCoordY)
      Event to signal that a mouse has been moved to the new coordinates.
      Parameters:
      screenCoordX - the x part of the latest screen coordinate.
      screenCoordY - the y part of the latest screen coordinate.
    • mouseEnter

      void mouseEnter(int screenCoordX, int screenCoordY)
      Parameters:
      screenCoordX -
      screenCoordY -
    • mouseExit

      void mouseExit(int screenCoordX, int screenCoordY)
      Parameters:
      screenCoordX -
      screenCoordY -
    • mouseDrag

      void mouseDrag(int screenCoordXFrom, int screenCoordYFrom, int screenCoordXTo, int screenCoordYTo)
      Event to signal that a mouse has been dragged from one point to a next.
      Parameters:
      screenCoordXFrom - the x part of the screen coordinate dragged from.
      screenCoordYFrom - the y part of the screen coordinate dragged from.
      screenCoordXTo - the x part of the screen coordinate dragged to.
      screenCoordYTo - the y part of the screen coordinate dragged to.
    • mouseWheelMovedForward

      void mouseWheelMovedForward(int rotation)
      Event to signal that the mouse wheel has been rotated a certain amount forward.
      Parameters:
      rotation - an platform-specific amount of rotation of the wheel
      See Also:
    • mouseWheelMovedBackward

      void mouseWheelMovedBackward(int rotation)
      Event to signal that the mouse wheel has been rotated a certain amount backward.
      Parameters:
      rotation - an platform-specific amount of rotation of the wheel
      See Also: