| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
javax.swing.plaf.multi
类 MultiColorChooserUI
java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.ColorChooserUI javax.swing.plaf.multi.MultiColorChooserUI
public class MultiColorChooserUI
- extends ColorChooserUI
用于组合 ColorChooserUI
的多路 UI。
此文件由 AutoMulti 自动生成。
字段摘要 | |
---|---|
protected Vector | uis 包含实际 UI 的向量。 |
构造方法摘要 | |
---|---|
MultiColorChooserUI() |
方法摘要 | |
---|---|
boolean | contains(JComponent a, int b, int c) 在由此对象处理的每个 UI 上调用 contains 方法。 |
static ComponentUI | createUI(JComponent a) 如果任意辅助 LookAndFeel 都支持此 UI,则返回一个多路 UI 实例。 |
Accessible | getAccessibleChild(JComponent a, int b) 在由此对象处理的每个 UI 上调用 getAccessibleChild 方法。 |
int | getAccessibleChildrenCount(JComponent a) 在由此对象处理的每个 UI 上调用 getAccessibleChildrenCount 方法。 |
Dimension | getMaximumSize(JComponent a) 在由此对象处理的每个 UI 上调用 getMaximumSize 方法。 |
Dimension | getMinimumSize(JComponent a) 在由此对象处理的每个 UI 上调用 getMinimumSize 方法。 |
Dimension | getPreferredSize(JComponent a) 在由此对象处理的每个 UI 上调用 getPreferredSize 方法。 |
ComponentUI[] | getUIs() 返回与此多路 UI 关联的 UI 列表。 |
void | installUI(JComponent a) 在由此对象处理的每个 UI 上调用 installUI 方法。 |
void | paint(Graphics a, JComponent b) 在由此对象处理的每个 UI 上调用 paint 方法 |
void | uninstallUI(JComponent a) 在由此对象处理的每个 UI 上调用 uninstallUI 方法。 |
void | update(Graphics a, JComponent b) 在由此对象处理的每个 UI 上调用 update 方法。 |
从类 javax.swing.plaf.ComponentUI 继承的方法 |
---|
getBaseline, getBaselineResizeBehavior |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
uis
protected Vector uis
- 包含实际 UI 的向量。这是在对
createUI
的调用中生成的,并且可通过调用getUIs
方法获得它。可以保证第一个元素是从默认外观获得的实际 UI。
构造方法详细信息 |
---|
MultiColorChooserUI
public MultiColorChooserUI()
方法详细信息 |
---|
getUIs
public ComponentUI[] getUIs()
- 返回与此多路 UI 关联的 UI 列表。这允许由意识到组件上多路 UI 的应用程序进行 UI 处理。
contains
public boolean contains(JComponent a, int b, int c)
- 在由此对象处理的每个 UI 上调用
contains
方法。 - 覆盖:
- 类
ComponentUI
中的contains
- 参数:
a
- 将在其中查询 x,y 的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数b
- 点的 x 坐标c
- 点的 y 坐标- 返回:
- 从第一个 UI 获得的值,该 UI 是从默认
LookAndFeel
获得的 UI - 另请参见:
JComponent.contains(int, int)
,Component.contains(int, int)
update
public void update(Graphics a, JComponent b)
- 在由此对象处理的每个 UI 上调用
update
方法。 - 覆盖:
- 类
ComponentUI
中的update
- 参数:
a
- 将在其中进行绘制的Graphics
上下文b
- 将绘制的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数- 另请参见:
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
,JComponent.paintComponent(java.awt.Graphics)
createUI
public static ComponentUI createUI(JComponent a)
- 如果任意辅助
LookAndFeel
都支持此 UI,则返回一个多路 UI 实例。否则,只返回从默认LookAndFeel
获得的 UI 对象。
installUI
public void installUI(JComponent a)
- 在由此对象处理的每个 UI 上调用
installUI
方法。 - 覆盖:
- 类
ComponentUI
中的installUI
- 参数:
a
- 将安装此 UI 委托的组件- 另请参见:
ComponentUI.uninstallUI(javax.swing.JComponent)
,JComponent.setUI(javax.swing.plaf.ComponentUI)
,JComponent.updateUI()
uninstallUI
public void uninstallUI(JComponent a)
- 在由此对象处理的每个 UI 上调用
uninstallUI
方法。 - 覆盖:
- 类
ComponentUI
中的uninstallUI
- 参数:
a
- 从中移除此 UI 委托的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数- 另请参见:
ComponentUI.installUI(javax.swing.JComponent)
,JComponent.updateUI()