DESY ACOP Beans Home

com.cosylab.gui.components
Class InterceptorPane.FocusMonitor

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by com.cosylab.gui.components.InterceptorPane.FocusMonitor
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
InterceptorPane

protected final class InterceptorPane.FocusMonitor
extends java.awt.event.WindowAdapter

This listener monitors changes in focus. When a window with an interceptor pane is deactivated, its interceptor pane is activated, and intercepts the mouse click in its area.

Version:
$id$
Author:
Ales Pucelj

Constructor Summary
protected InterceptorPane.FocusMonitor()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Uneccesary, but still implemented.
 void windowDeactivated(java.awt.event.WindowEvent e)
          Installs the glass pane only if the
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorPane.FocusMonitor

protected InterceptorPane.FocusMonitor()
Method Detail

windowDeactivated

public final void windowDeactivated(java.awt.event.WindowEvent e)
Installs the glass pane only if the

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Overrides:
windowDeactivated in class java.awt.event.WindowAdapter
Parameters:
e - WindowEvent
See Also:
WindowListener.windowDeactivated(WindowEvent)

windowClosing

public final void windowClosing(java.awt.event.WindowEvent e)
Uneccesary, but still implemented.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter
Parameters:
e - WindowEvent
See Also:
WindowListener.windowClosing(WindowEvent)


Copyright © 2010. All Rights Reserved.