org.scijava.platform.event
Class AppSleepEvent

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.event.SciJavaEvent
          extended by org.scijava.platform.event.ApplicationEvent
              extended by 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
AppSleepEvent(boolean sleep)
           
 
Method Summary
 boolean isSleeping()
           
 boolean isWaking()
           
 String toString()
           
 
Methods inherited from class org.scijava.event.SciJavaEvent
consume, isConsumed, setConsumed
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppSleepEvent

public AppSleepEvent(boolean sleep)
Method Detail

isSleeping

public boolean isSleeping()

isWaking

public boolean isWaking()

toString

public String toString()
Overrides:
toString in class SciJavaEvent


Copyright © 2009–2014 SciJava. All rights reserved.