org.scijava.platform.event
Class AppFocusEvent

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.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
AppFocusEvent(boolean focus)
           
 
Method Summary
 boolean isBackground()
           
 boolean isForeground()
           
 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

AppFocusEvent

public AppFocusEvent(boolean focus)
Method Detail

isForeground

public boolean isForeground()

isBackground

public boolean isBackground()

toString

public String toString()
Overrides:
toString in class SciJavaEvent


Copyright © 2009–2014 SciJava. All rights reserved.