JavaScript is disabled on your browser.
Skip navigation links
Java SE 21 & JDK 21
Overview
Module
Package
Class
Use
Tree
Preview
New
Deprecated
Index
Help
Summary:
Nested
Field
Constr
Method
Detail:
Field
Constr
Method
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH
Module
java.desktop
Package
java.awt.desktop
Interface OpenFilesHandler
public interface
OpenFilesHandler
当应用程序被要求打开文件列表时,通知实现者。
自 JDK 版本:
9
参见:
Desktop.setOpenFileHandler(OpenFilesHandler)
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
void
openFiles
(
OpenFilesEvent
e)
当应用程序被要求打开文件列表时调用。
Method Details
openFiles
void
openFiles
(
OpenFilesEvent
e)
当应用程序被要求打开文件列表时调用。
参数:
e
- 要求打开文件列表以及用于查找它们的搜索词(如果有)