软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.colorchooser |
包含由
JColorChooser 组件使用的类和接口。
|
Modifier and Type | Method and Description |
---|---|
ColorSelectionModel |
JColorChooser.getSelectionModel()
返回处理颜色选择的数据模型。
|
Modifier and Type | Method and Description |
---|---|
void |
JColorChooser.setSelectionModel(ColorSelectionModel newModel)
设置包含所选颜色的模型。
|
Constructor and Description |
---|
JColorChooser(ColorSelectionModel model)
创建一个具有指定
ColorSelectionModel 颜色选择面板。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultColorSelectionModel
一个通用的实施
ColorSelectionModel 。
|
Modifier and Type | Method and Description |
---|---|
ColorSelectionModel |
AbstractColorChooserPanel.getColorSelectionModel()
返回模式选择器面板编辑。
|
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.