Provides interfaces and classes for interaction with various desktop capabilities.
Interface Summary Interface Description AboutHandlerAn implementer receives notification when the app is asked to show its about dialog. AppForegroundListenerImplementors are notified when the app becomes the foreground app and when it is no longer the foreground app. AppHiddenListenerImplementors are notified when the app is hidden or shown by the user. AppReopenedListenerImplementors receive notification when the app has been asked to open again. OpenFilesHandlerAn implementor is notified when the application is asked to open a list of files. OpenURIHandlerAn implementor is notified when the application is asked to open a URI. PreferencesHandlerAn implementor is notified when the app is asked to show its preferences UI. PrintFilesHandlerAn implementor can respond to requests to print documents that the app has been registered to handle. QuitHandlerAn implementor determines if requests to quit this application should proceed or cancel. QuitResponseUsed to respond to a request to quit the application. ScreenSleepListenerImplementors receive notification when the displays attached to the system have entered power save sleep. SystemEventListenerCommon interface for all event listener sub-types. SystemSleepListenerImplementors receive notification as the system is entering sleep, and after the system wakes. UserSessionListenerImplementors receive notification when the user session changes.
Class Summary Class Description AboutEventEvent sent when the application is asked to open its about window. AppEventAppEvents are sent to listeners and handlers installed on the
Desktopinstance of the current desktop context.
AppForegroundEventEvent sent when the application has become the foreground app, and when it is no longer the foreground app. AppHiddenEventEvent sent when the application has been hidden or shown. AppReopenedEventEvent sent when the application is asked to re-open itself. FilesEventAuxiliary event containing a list of files. OpenFilesEventEvent sent when the app is asked to open a list of files. OpenURIEventEvent sent when the app is asked to open a
PreferencesEventEvent sent when the application is asked to open its preferences window. PrintFilesEventEvent sent when the app is asked to print a list of files. QuitEventEvent sent when the application is asked to quit. ScreenSleepEventEvent sent when the displays attached to the system enter and exit power save sleep. SystemSleepEventEvent sent when the system enters and exits power save sleep. UserSessionEventEvent sent when the user session has been changed.