软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.synth |
它是一个可更换皮肤的外观和感觉的绘画是授。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
javax.swing.tree |
处理
javax.swing.JTree 提供类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultListCellRenderer
在列表中呈现一个项目。
|
static class |
DefaultListCellRenderer.UIResource
defaultlistcellrenderer uiresource子类实现的。
|
Modifier and Type | Class and Description |
---|---|
class |
BasicComboBoxRenderer
组合框渲染
|
static class |
BasicComboBoxRenderer.UIResource
basiccomboboxrenderer uiresource子类实现的。
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicLabelUI.installComponents(JLabel c) |
protected void |
BasicLabelUI.installDefaults(JLabel c) |
protected void |
BasicLabelUI.installKeyboardActions(JLabel l) |
protected void |
BasicLabelUI.installListeners(JLabel c) |
protected String |
BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
将调用转发给layoutcompoundlabel() swingutilities。
|
protected void |
BasicLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
油漆clippedtext在textx,texty背景。lighter()然后移向下和向右一像素与背景。darker()。
|
protected void |
BasicLabelUI.paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
油漆clippedtext在textx,与标签的前景颜色texty。
|
protected void |
BasicLabelUI.uninstallComponents(JLabel c) |
protected void |
BasicLabelUI.uninstallDefaults(JLabel c) |
protected void |
BasicLabelUI.uninstallKeyboardActions(JLabel c) |
protected void |
BasicLabelUI.uninstallListeners(JLabel c) |
Modifier and Type | Class and Description |
---|---|
protected class |
MetalFileChooserUI.FileRenderer |
class |
MetalFileChooserUI.FilterComboBoxRenderer
渲染不同类型的大小和样式。
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetalLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
刚刚油漆的灰色文本(标签。disabledforeground)而不是在标签的前景颜色。
|
Modifier and Type | Method and Description |
---|---|
protected void |
SynthLabelUI.installDefaults(JLabel c) |
protected void |
SynthLabelUI.uninstallDefaults(JLabel c) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTableCellRenderer
绘制标准类(显示)在
JTable 单个细胞。
|
static class |
DefaultTableCellRenderer.UIResource
DefaultTableCellRenderer
UIResource 子类实现的。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeCellRenderer
显示一个在树中的条目。
|
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.