类的用途
javax.swing.filechooser.FileSystemView
使用 FileSystemView 的包
包
描述
提供一组“轻量级”(全 Java 语言)组件,尽可能在所有平台上以相同的方式工作。
包含
JFileChooser 组件使用的类和接口。
-
FileSystemView 在 javax.swing 中的用法
javax.swing 中返回 FileSystemView 的方法javax.swing 中的方法,参数类型为 FileSystemView修饰符和类型方法描述voidJFileChooser.setFileSystemView(FileSystemView fsv) 设置JFileChooser用于访问和创建文件系统资源的文件系统视图,例如查找软盘驱动器和获取根驱动器列表。protected voidJFileChooser.setup(FileSystemView view) 执行公共构造方法初始化和设置。javax.swing 中的构造函数,参数类型为 FileSystemView修饰符构造方法描述JFileChooser(File currentDirectory, FileSystemView fsv) 使用给定的当前目录和FileSystemView构造一个JFileChooser。JFileChooser(String currentDirectoryPath, FileSystemView fsv) 使用给定的当前目录路径和FileSystemView构造一个JFileChooser。使用给定的FileSystemView构造一个JFileChooser。 -
FileSystemView 在 javax.swing.filechooser 中的用法