软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.filechooser |
包含由
JFileChooser 组件使用的类和接口。
|
Modifier and Type | Method and Description |
---|---|
FileSystemView |
JFileChooser.getFileSystemView()
返回文件系统视图。
|
Modifier and Type | Method and Description |
---|---|
void |
JFileChooser.setFileSystemView(FileSystemView fsv)
设置文件系统的观点,
JFileChooser 用于访问和创建文件系统资源,如发现软驱和列表的根驱动器。
|
protected void |
JFileChooser.setup(FileSystemView view)
执行常见的构造函数初始化和设置。
|
Constructor and Description |
---|
JFileChooser(File currentDirectory, FileSystemView fsv)
使用给定的当前目录和
FileSystemView 构建
JFileChooser 。
|
JFileChooser(FileSystemView fsv)
使用给定的
FileSystemView 构建
JFileChooser 。
|
JFileChooser(String currentDirectoryPath, FileSystemView fsv)
使用给定的当前目录路径和
FileSystemView 构建
JFileChooser 。
|
Modifier and Type | Method and Description |
---|---|
static FileSystemView |
FileSystemView.getFileSystemView() |
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.