Module java.desktop

Package java.awt.desktop

Provides interfaces and classes for interaction with various desktop capabilities.
Since:
9
  • Interface Summary
    Interface
    Description
    An implementer receives notification when the app is asked to show its about dialog.
    Implementors are notified when the app becomes the foreground app and when it is no longer the foreground app.
    Implementors are notified when the app is hidden or shown by the user.
    Implementors receive notification when the app has been asked to open again.
    An implementor is notified when the application is asked to open a list of files.
    An implementor is notified when the application is asked to open a URI.
    An implementor is notified when the app is asked to show its preferences UI.
    An implementor can respond to requests to print documents that the app has been registered to handle.
    An implementor determines if requests to quit this application should proceed or cancel.
    Used to respond to a request to quit the application.
    Implementors receive notification when the displays attached to the system have entered power save sleep.
    Common interface for all event listener sub-types.
    Implementors receive notification as the system is entering sleep, and after the system wakes.
    Implementors receive notification when the user session changes.
  • Class Summary
    Class
    Description
    Event sent when the application is asked to open its about window.
    AppEvents are sent to listeners and handlers installed on the Desktop instance of the current desktop context.
    Event sent when the application has become the foreground app, and when it is no longer the foreground app.
    Event sent when the application has been hidden or shown.
    Event sent when the application is asked to re-open itself.
    Auxiliary event containing a list of files.
    Event sent when the app is asked to open a list of files.
    Event sent when the app is asked to open a URI.
    Event sent when the application is asked to open its preferences window.
    Event sent when the app is asked to print a list of files.
    Event sent when the application is asked to quit.
    Event sent when the displays attached to the system enter and exit power save sleep.
    Event sent when the system enters and exits power save sleep.
    Event sent when the user session has been changed.
  • Enum Summary
    Enum
    Description
    The strategy used to shut down the application, if Sudden Termination is not enabled.
    Kinds of available reasons of user session change.