Uses of Interface
java.awt.desktop.SystemEventListener
| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
| java.awt.desktop |
Provides interfaces and classes for interaction with various desktop
capabilities.
|
-
Uses of SystemEventListener in java.awt
Methods in java.awt with parameters of type SystemEventListener Modifier and Type Method Description voidDesktop. addAppEventListener(SystemEventListener listener)Adds sub-types ofSystemEventListenerto listen for notifications from the native system.voidDesktop. removeAppEventListener(SystemEventListener listener)Removes sub-types ofSystemEventListenerto listen for notifications from the native system. -
Uses of SystemEventListener in java.awt.desktop
Subinterfaces of SystemEventListener in java.awt.desktop Modifier and Type Interface Description interfaceAppForegroundListenerImplementors are notified when the app becomes the foreground app and when it is no longer the foreground app.interfaceAppHiddenListenerImplementors are notified when the app is hidden or shown by the user.interfaceAppReopenedListenerImplementors receive notification when the app has been asked to open again.interfaceScreenSleepListenerImplementors receive notification when the displays attached to the system have entered power save sleep.interfaceSystemSleepListenerImplementors receive notification as the system is entering sleep, and after the system wakes.interfaceUserSessionListenerImplementors receive notification when the user session changes.