com.intellij.ide
Class FrameStateManager

java.lang.Object
  extended by com.intellij.ide.FrameStateManager

public abstract class FrameStateManager
extends java.lang.Object

Manager of listeners for notifications about activation and deactivation of the IDEA window.

Since:
5.0.2

Constructor Summary
FrameStateManager()
           
 
Method Summary
abstract  void addListener(FrameStateListener listener)
          Adds a listener which is called when the IDEA window is activated or deactivated.
static FrameStateManager getInstance()
          Returns the global FrameStateManager instance.
abstract  void removeListener(FrameStateListener listener)
          Removes a listener which is called when the IDEA window is activated or deactivated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameStateManager

public FrameStateManager()
Method Detail

getInstance

public static FrameStateManager getInstance()
Returns the global FrameStateManager instance.

Returns:
the component instance.

addListener

public abstract void addListener(FrameStateListener listener)
Adds a listener which is called when the IDEA window is activated or deactivated.

Parameters:
listener - the listener instance.

removeListener

public abstract void removeListener(FrameStateListener listener)
Removes a listener which is called when the IDEA window is activated or deactivated.

Parameters:
listener - the listener instance.