gui.dialog
Class JAPDialog.BlockedWindowDeactivationAdapter

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by gui.dialog.JAPDialog.BlockedWindowDeactivationAdapter
All Implemented Interfaces:
java.awt.event.FocusListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
JAPDialog

private class JAPDialog.BlockedWindowDeactivationAdapter
extends java.awt.event.WindowAdapter
implements java.awt.event.FocusListener

Keeps the blocked window in a disabled state and transfers the focus from it to the dialog, even if some other part of the application set it to enabled or set the focus on it.


Constructor Summary
private JAPDialog.BlockedWindowDeactivationAdapter()
           
 
Method Summary
private  void deactivate(java.awt.Window a_window)
           
 void focusGained(java.awt.event.FocusEvent a_event)
           
 void focusLost(java.awt.event.FocusEvent a_event)
           
 void windowActivated(java.awt.event.WindowEvent a_event)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowClosed, windowClosing, windowDeactivated, 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

JAPDialog.BlockedWindowDeactivationAdapter

private JAPDialog.BlockedWindowDeactivationAdapter()
Method Detail

windowActivated

public void windowActivated(java.awt.event.WindowEvent a_event)
Specified by:
windowActivated in interface java.awt.event.WindowListener
Overrides:
windowActivated in class java.awt.event.WindowAdapter

focusGained

public void focusGained(java.awt.event.FocusEvent a_event)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent a_event)
Specified by:
focusLost in interface java.awt.event.FocusListener

deactivate

private void deactivate(java.awt.Window a_window)