Package esmska.integration.mac.handler
Class MacSystemSleepListener
- java.lang.Object
-
- esmska.integration.mac.handler.MacSystemSleepListener
-
- All Implemented Interfaces:
com.apple.eawt.AppEventListener,com.apple.eawt.SystemSleepListener
public class MacSystemSleepListener extends java.lang.Object implements com.apple.eawt.SystemSleepListenerSystem sleep listener. It deactivates queueu when system is going to sleep and reactivates it when system awake. Deactivation and reactivation happens only if quueue was active before those events happens.
-
-
Constructor Summary
Constructors Constructor Description MacSystemSleepListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsystemAboutToSleep(com.apple.eawt.AppEvent.SystemSleepEvent sse)voidsystemAwoke(com.apple.eawt.AppEvent.SystemSleepEvent sse)
-
-
-
Method Detail
-
systemAboutToSleep
public void systemAboutToSleep(com.apple.eawt.AppEvent.SystemSleepEvent sse)
- Specified by:
systemAboutToSleepin interfacecom.apple.eawt.SystemSleepListener
-
systemAwoke
public void systemAwoke(com.apple.eawt.AppEvent.SystemSleepEvent sse)
- Specified by:
systemAwokein interfacecom.apple.eawt.SystemSleepListener
-
-