Package furbelow

Interface DropTargetNavigator.Navigator

All Known Implementing Classes:
DropTargetNavigator.AbstractNavigator
Enclosing class:
DropTargetNavigator

public static interface DropTargetNavigator.Navigator
This performs a more general navigation function than Autoscroll.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return whether the given component should be subject to drop target navigation, given the current set of items under the cursor.
    navigate(Component c, Point where, Runnable previousUndo)
    Navigate the given drop target as appropriate, returning a Runnable capable of restoring the component to its original state when the component becomes no longer active either by moving the cursor out or canceling the drag operation.
  • Method Details

    • isNavigating

      boolean isNavigating(Component c, Collection underCursor)
      Return whether the given component should be subject to drop target navigation, given the current set of items under the cursor.