Class DropTarget.DropTargetAutoScroller
java.lang.Object
java.awt.dnd.DropTarget.DropTargetAutoScroller
- All Implemented Interfaces:
ActionListener,EventListener
- Enclosing class:
DropTarget
this protected nested class implements autoscrolling
- Since:
- 1.2
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedconstruct a DropTargetAutoScroller -
Method Summary
Modifier and TypeMethodDescriptionvoidcause autoscroll to occurprotected voidstop()cause autoscrolling to stopprotected voidupdateLocation(Point newLocn) cause autoscroll to occur
-
Constructor Details
-
DropTargetAutoScroller
-
-
Method Details
-
updateLocation
cause autoscroll to occur- Parameters:
newLocn- thePoint
-
stop
protected void stop()cause autoscrolling to stop -
actionPerformed
cause autoscroll to occur- Specified by:
actionPerformedin interfaceActionListener- Parameters:
e- theActionEvent
-