java.lang.Object java.awt.dnd.DropTarget.DropTargetAutoScroller
protected static class DropTarget.DropTargetAutoScroller
此受保护的嵌套类实现自动滚动
构造方法摘要 | |
---|---|
protected |
DropTarget.DropTargetAutoScroller(Component c, Point p) 构造一个 DropTargetAutoScroller |
方法摘要 | |
---|---|
void |
actionPerformed(ActionEvent e) 导致发生自动滚动 |
protected void |
stop() 导致停止自动滚动 |
protected void |
updateLocation(Point newLocn) 导致发生自动滚动 |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
protected DropTarget.DropTargetAutoScroller(Component c, Point p)
c
-
Component
p
-
Point
方法详细信息 |
---|
protected void updateLocation(Point newLocn)
newLocn
-
Point
protected void stop()
public void actionPerformed(ActionEvent e)
ActionListener
中的
actionPerformed
e
-
ActionEvent