软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Class and Description |
---|---|
class |
Scrollbar
的
Scrollbar 类体现了一个滚动条,一个熟悉的用户界面对象。
|
class |
ScrollPaneAdjustable
这类代表一个水平或垂直滚动条的
ScrollPane 状态。
|
Modifier and Type | Method and Description |
---|---|
Adjustable |
ScrollPane.getHAdjustable()
返回代表水平滚动条的状态
ScrollPaneAdjustable 对象。
|
Adjustable |
ScrollPane.getVAdjustable()
返回代表垂直滚动条的状态
ScrollPaneAdjustable 对象。
|
Modifier and Type | Method and Description |
---|---|
Adjustable |
AdjustmentEvent.getAdjustable()
返回
Adjustable 对象这个事件的起源。
|
Constructor and Description |
---|
AdjustmentEvent(Adjustable source, int id, int type, int value)
构建了一个
AdjustmentEvent 对象和指定的
Adjustable 源,事件型、调整型、和价值。
|
AdjustmentEvent(Adjustable source, int id, int type, int value, boolean isAdjusting)
构造一个指定的可调光源,事件型、调整型
AdjustmentEvent 对象和价值。
|
Modifier and Type | Class and Description |
---|---|
class |
JScrollBar
一个滚动条的实现。
|
protected class |
JScrollPane.ScrollBar
默认情况下
JScrollPane 创建滚动条,这个类的实例。
|
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.