public interface Autoscroll
在这种情况下,它是理想的,是希望的图形用户界面控制检测和研究所的一个滚动操作,以使遮蔽区域(S)可见的用户。此功能称为自动滚动。
如果一个GUI控件是一个活跃的DropTarget
也是滚动,它可以接收autoscrolling手势从DND系统用户通过实现这个接口的通知。
一个自动滚动手势是由用户通过拖动光标不动的Component
边境地区发起的,被称为“自动滚动”区域,在预定时间内,这将造成重复滚动请求到Component
直到拖Cursor
恢复运动。
Modifier and Type | Method and Description |
---|---|
void |
autoscroll(Point cursorLocn)
通知
Component 来滚动
|
Insets |
getAutoscrollInsets()
此方法返回描述自动滚动区域或边界相对于执行组件的几何
Insets 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.