软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
DropMode |
JList.getDropMode()
返回此组件的下拉模式。
|
DropMode |
JTree.getDropMode()
返回此组件的下拉模式。
|
DropMode |
JTable.getDropMode()
返回此组件的下拉模式。
|
static DropMode |
DropMode.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static DropMode[] |
DropMode.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
void |
JList.setDropMode(DropMode dropMode)
设置此组件的下拉模式。
|
void |
JTree.setDropMode(DropMode dropMode)
设置此组件的下拉模式。
|
void |
JTable.setDropMode(DropMode dropMode)
设置此组件的下拉模式。
|
Modifier and Type | Method and Description |
---|---|
DropMode |
JTextComponent.getDropMode()
返回此组件的下拉模式。
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.setDropMode(DropMode dropMode)
设置此组件的下拉模式。
|
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.