|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.dnd.DropTarget.DropTargetAutoScroller
this protected nested class implements autoscrolling
Field Summary | |
private Autoscroll |
autoScroll
|
private Component |
component
|
private int |
hysteresis
|
private Rectangle |
inner
|
private Point |
locn
|
private Rectangle |
outer
|
private Point |
prev
|
private Timer |
timer
|
Constructor Summary | |
protected |
DropTarget.DropTargetAutoScroller(Component c,
Point p)
construct a DropTargetAutoScroller |
Method Summary | |
void |
actionPerformed(ActionEvent e)
cause autoscroll to occur |
protected void |
stop()
cause autoscrolling to stop |
protected void |
updateLocation(Point newLocn)
cause autoscroll to occur |
private void |
updateRegion()
update the geometry of the autoscroll region |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Component component
private Autoscroll autoScroll
private Timer timer
private Point locn
private Point prev
private Rectangle outer
private Rectangle inner
private int hysteresis
Constructor Detail |
protected DropTarget.DropTargetAutoScroller(Component c, Point p)
c
- the Component
p
- the Point
Method Detail |
private void updateRegion()
protected void updateLocation(Point newLocn)
newLocn
- the Point
protected void stop()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the ActionEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |