Package org.scijava.platform.event
Class AppSleepEvent
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.event.SciJavaEvent
-
- org.scijava.platform.event.ApplicationEvent
-
- org.scijava.platform.event.AppSleepEvent
-
- All Implemented Interfaces:
Contextual
- Direct Known Subclasses:
AppScreenSleepEvent,AppSystemSleepEvent
public abstract class AppSleepEvent extends ApplicationEvent
An event sent when a device enters or exits power save sleep.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description AppSleepEvent(boolean sleep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSleeping()booleanisWaking()StringtoString()-
Methods inherited from class org.scijava.event.SciJavaEvent
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
setContext
-
-
-
-
Method Detail
-
isSleeping
public boolean isSleeping()
-
isWaking
public boolean isWaking()
-
toString
public String toString()
- Overrides:
toStringin classSciJavaEvent
-
-