Desktop
java.awt.Desktop
The AWT framework Desktop class is the default interface for triggering OS specific operations like edit file or open link. Webswing implements this interface and interprets these commands in a web browser-friendly way.
Method | Webswing operation |
---|---|
browse | Opens the specified link in new tab |
edit | Referenced file is downloaded |
Opens a new email window in default mail client | |
open | Referenced file is downloaded |
Referenced file is downloaded, PDF file is displayed in new tab with pdf.js |
See File viewers for configuration of handling Desktop class methods.