软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.filechooser |
包含由
JFileChooser 组件使用的类和接口。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
Modifier and Type | Method and Description |
---|---|
FileFilter |
JFileChooser.getAcceptAllFileFilter()
返回
AcceptAll 文件过滤。
|
FileFilter[] |
JFileChooser.getChoosableFileFilters()
获取用户可选的文件筛选器列表。
|
FileFilter |
JFileChooser.getFileFilter()
返回当前选定的文件筛选器。
|
Modifier and Type | Method and Description |
---|---|
void |
JFileChooser.addChoosableFileFilter(FileFilter filter)
用户可选择的文件筛选器列表添加一个过滤器。
|
boolean |
JFileChooser.removeChoosableFileFilter(FileFilter f)
删除从用户可选的文件筛选器列表过滤。
|
void |
JFileChooser.setFileFilter(FileFilter filter)
设置当前文件筛选器。
|
Modifier and Type | Class and Description |
---|---|
class |
FileNameExtensionFilter
对
FileFilter 使用指定的一组扩展滤波器的实现。
|
Modifier and Type | Method and Description |
---|---|
abstract FileFilter |
FileChooserUI.getAcceptAllFileFilter(JFileChooser fc) |
Modifier and Type | Class and Description |
---|---|
protected class |
BasicFileChooserUI.AcceptAllFileFilter |
Modifier and Type | Method and Description |
---|---|
FileFilter |
BasicFileChooserUI.getAcceptAllFileFilter(JFileChooser fc)
返回默认的接受所有文件过滤器
|
Modifier and Type | Field and Description |
---|---|
protected FileFilter[] |
MetalFileChooserUI.FilterComboBoxModel.filters |
Modifier and Type | Method and Description |
---|---|
FileFilter |
MultiFileChooserUI.getAcceptAllFileFilter(JFileChooser a)
调用该对象的每个UI处理
getAcceptAllFileFilter 方法。
|
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.