Package org.scijava.platform.event
Class AppFocusEvent
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.event.SciJavaEvent
-
- org.scijava.platform.event.ApplicationEvent
-
- org.scijava.platform.event.AppFocusEvent
-
- All Implemented Interfaces:
Contextual
public class AppFocusEvent extends ApplicationEvent
An event sent when the application has become the foreground app, or when it has resigned being the foreground app.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description AppFocusEvent(boolean focus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBackground()booleanisForeground()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
-
isForeground
public boolean isForeground()
-
isBackground
public boolean isBackground()
-
toString
public String toString()
- Overrides:
toStringin classSciJavaEvent
-
-