Top Description Interfaces Classes Enums
module java.desktop

Package java.awt.desktop


Provides interfaces and classes for interaction with various desktop capabilities.
Since
9

Interface Summary

Modifier and TypeInterface and Description
public interface
AboutHandler

An implementer receives notification when the app is asked to show its about dialog.

public interface
AppForegroundListener

Implementors are notified when the app becomes the foreground app and when it is no longer the foreground app.

public interface
AppHiddenListener

Implementors are notified when the app is hidden or shown by the user.

public interface
AppReopenedListener

Implementors receive notification when the app has been asked to open again.

public interface
OpenFilesHandler

An implementor is notified when the application is asked to open a list of files.

public interface
OpenURIHandler

An implementor is notified when the application is asked to open a URI.

public interface
PreferencesHandler

An implementor is notified when the app is asked to show its preferences UI.

public interface
PrintFilesHandler

An implementor can respond to requests to print documents that the app has been registered to handle.

public interface
QuitHandler

An implementor determines if requests to quit this application should proceed or cancel.

public interface
QuitResponse

Used to respond to a request to quit the application.

public interface
ScreenSleepListener

Implementors receive notification when the displays attached to the system have entered power save sleep.

public interface
SystemEventListener

Common interface for all event listener sub-types.

public interface
SystemSleepListener

Implementors receive notification as the system is entering sleep, and after the system wakes.

public interface
UserSessionListener

Implementors receive notification when the user session changes.

Class Summary

Modifier and TypeClass and Description
public class
AboutEvent

Event sent when the application is asked to open its about window.

public class
AppEvent

AppEvents are sent to listeners and handlers installed on the java.awt.Desktop instance of the current desktop context.

public class
AppForegroundEvent

Event sent when the application has become the foreground app, and when it is no longer the foreground app.

public class
AppHiddenEvent

Event sent when the application has been hidden or shown.

public class
AppReopenedEvent

Event sent when the application is asked to re-open itself.

public class
FilesEvent

Auxiliary event containing a list of files.

public class
OpenFilesEvent

Event sent when the app is asked to open a list of files.

public class
OpenURIEvent

Event sent when the app is asked to open a URI.

public class
PreferencesEvent

Event sent when the application is asked to open its preferences window.

public class
PrintFilesEvent

Event sent when the app is asked to print a list of files.

public class
QuitEvent

Event sent when the application is asked to quit.

public class
ScreenSleepEvent

Event sent when the displays attached to the system enter and exit power save sleep.

public class
SystemSleepEvent

Event sent when the system enters and exits power save sleep.

public class
UserSessionEvent

Event sent when the user session has been changed.

Enum Summary

Modifier and TypeEnum and Description
public enum
QuitStrategy

The strategy used to shut down the application, if Sudden Termination is not enabled.