|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
javax.swing.plaf.multi.MultiFileChooserUI
public class MultiFileChooserUI
用于组合 FileChooserUI 的多路 UI。
此文件由 AutoMulti 自动生成。
| 字段摘要 | |
|---|---|
protected Vector |
uis
包含实际 UI 的向量。 |
| 构造方法摘要 | |
|---|---|
MultiFileChooserUI()
|
|
| 方法摘要 | |
|---|---|
boolean |
contains(JComponent a,
int b,
int c)
在由此对象处理的每个 UI 上调用 contains 方法。 |
static ComponentUI |
createUI(JComponent a)
如果任意辅助 LookAndFeel 都支持此 UI,则返回一个多路 UI 实例。 |
void |
ensureFileIsVisible(JFileChooser a,
File b)
在由此对象处理的每个 UI 上调用 ensureFileIsVisible 方法。 |
FileFilter |
getAcceptAllFileFilter(JFileChooser a)
在由此对象处理的每个 UI 上调用 getAcceptAllFileFilter 方法。 |
Accessible |
getAccessibleChild(JComponent a,
int b)
在由此对象处理的每个 UI 上调用 getAccessibleChild 方法。 |
int |
getAccessibleChildrenCount(JComponent a)
在由此对象处理的每个 UI 上调用 getAccessibleChildrenCount 方法。 |
String |
getApproveButtonText(JFileChooser a)
在由此对象处理的每个 UI 上调用 getApproveButtonText 方法。 |
String |
getDialogTitle(JFileChooser a)
在由此对象处理的每个 UI 上调用 getDialogTitle 方法。 |
FileView |
getFileView(JFileChooser a)
在由此对象处理的每个 UI 上调用 getFileView 方法。 |
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 |
rescanCurrentDirectory(JFileChooser a)
在由此对象处理的每个 UI 上调用 rescanCurrentDirectory 方法。 |
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 |
| 字段详细信息 |
|---|
protected Vector uis
createUI 的调用中生成的,并且可通过调用 getUIs 方法获得它。可以保证第一个元素是从默认外观获得的实际 UI。
| 构造方法详细信息 |
|---|
public MultiFileChooserUI()
| 方法详细信息 |
|---|
public ComponentUI[] getUIs()
public FileFilter getAcceptAllFileFilter(JFileChooser a)
getAcceptAllFileFilter 方法。
FileChooserUI 中的 getAcceptAllFileFilterLookAndFeel 获得的 UIpublic FileView getFileView(JFileChooser a)
getFileView 方法。
FileChooserUI 中的 getFileViewLookAndFeel 获得的 UIpublic String getApproveButtonText(JFileChooser a)
getApproveButtonText 方法。
FileChooserUI 中的 getApproveButtonTextLookAndFeel 获得的 UIpublic String getDialogTitle(JFileChooser a)
getDialogTitle 方法。
FileChooserUI 中的 getDialogTitleLookAndFeel 获得的 UIpublic void rescanCurrentDirectory(JFileChooser a)
rescanCurrentDirectory 方法。
FileChooserUI 中的 rescanCurrentDirectory
public void ensureFileIsVisible(JFileChooser a,
File b)
ensureFileIsVisible 方法。
FileChooserUI 中的 ensureFileIsVisible
public boolean contains(JComponent a,
int b,
int c)
contains 方法。
ComponentUI 中的 containsa - 将在其中查询 x,y 的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数b - 点的 x 坐标c - 点的 y 坐标
LookAndFeel 获得的 UIJComponent.contains(int, int),
Component.contains(int, int)
public void update(Graphics a,
JComponent b)
update 方法。
ComponentUI 中的 updatea - 将在其中进行绘制的 Graphics 上下文b - 将绘制的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent),
JComponent.paintComponent(java.awt.Graphics)public static ComponentUI createUI(JComponent a)
LookAndFeel 都支持此 UI,则返回一个多路 UI 实例。否则只返回从默认 LookAndFeel 获得的 UI 对象。
public void installUI(JComponent a)
installUI 方法。
ComponentUI 中的 installUIa - 将安装此 UI 委托的组件ComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()public void uninstallUI(JComponent a)
uninstallUI 方法。
ComponentUI 中的 uninstallUIa - 从中移除此 UI 委托的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数ComponentUI.installUI(javax.swing.JComponent),
JComponent.updateUI()
public void paint(Graphics a,
JComponent b)
paint 方法。
ComponentUI 中的 painta - 将在其中进行绘制的 Graphics 上下文b - 将绘制的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)public Dimension getPreferredSize(JComponent a)
getPreferredSize 方法。
ComponentUI 中的 getPreferredSizea - 将查询其首选大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数
LookAndFeel 获得的 UIJComponent.getPreferredSize(),
LayoutManager.preferredLayoutSize(java.awt.Container)public Dimension getMinimumSize(JComponent a)
getMinimumSize 方法。
ComponentUI 中的 getMinimumSizea - 将查询其最小大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数
LookAndFeel 获得的 UIJComponent.getMinimumSize(),
LayoutManager.minimumLayoutSize(java.awt.Container),
ComponentUI.getPreferredSize(javax.swing.JComponent)public Dimension getMaximumSize(JComponent a)
getMaximumSize 方法
ComponentUI 中的 getMaximumSizea - 将查询其最大大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数
LookAndFeel 获得的 UIJComponent.getMaximumSize(),
LayoutManager2.maximumLayoutSize(java.awt.Container)public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount 方法。
ComponentUI 中的 getAccessibleChildrenCountLookAndFeel 获得的 UIComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a,
int b)
getAccessibleChild 方法。
ComponentUI 中的 getAccessibleChildb - 子对象的从零开始的索引
LookAndFeel 获得的 UIComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。