Interface InternalManagedWindow.WindowDragListener

Enclosing class:
InternalManagedWindow

public static interface InternalManagedWindow.WindowDragListener
Interface for listening to dragging the window by mouse.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    endDrag​(Component component)
    Called when the user ends a window drag.
    void
    startDrag​(Component component)
    Called when the user initiates a window drag.
    void
    windowDragged​(Component component, Point point)
    Called when the user drags a window.
  • Method Details

    • startDrag

      void startDrag(Component component)
      Called when the user initiates a window drag.
      Parameters:
      component - dragged component
    • endDrag

      void endDrag(Component component)
      Called when the user ends a window drag.
      Parameters:
      component - dragged component
    • windowDragged

      void windowDragged(Component component, Point point)
      Called when the user drags a window.
      Parameters:
      component - dragged component
      point - the location of the drag. This is not necessarily the new coordinates of the window.