Interface WidgetAction.WidgetLocationEvent

All Superinterfaces:
WidgetAction.WidgetEvent
All Known Implementing Classes:
WidgetAction.WidgetDropTargetDragEvent, WidgetAction.WidgetDropTargetDropEvent, WidgetAction.WidgetMouseEvent, WidgetAction.WidgetMouseWheelEvent
Enclosing interface:
WidgetAction

public static interface WidgetAction.WidgetLocationEvent extends WidgetAction.WidgetEvent
Represents an location event used for controlling mouse location.
  • Method Details

    • getPoint

      Point getPoint()
      Returns stored location.
      Returns:
      the location
    • setPoint

      void setPoint(Point point)
      Sets a new location. This is called by a event provider only. Do not call this method unless you know what it does exactly.
      Parameters:
      point - the new location
    • translatePoint

      void translatePoint(int x, int y)
      Translates the stored location. Do not call this method unless you know what it does exactly.
      Parameters:
      x - the x-axis addition
      y - the y-axis addition