org.jdesktop.swingx
Class JXLoginPane.CapsOnWinListener

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.jdesktop.swingx.JXLoginPane.CapsOnWinListener
All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener
Enclosing class:
JXLoginPane

public static class JXLoginPane.CapsOnWinListener
extends WindowAdapter
implements WindowFocusListener, WindowListener

Window event listener to invoke capslock test when login panel get activated.


Constructor Summary
JXLoginPane.CapsOnWinListener(org.jdesktop.swingx.JXLoginPane.CapsOnTest cot)
           
 
Method Summary
 void windowActivated(WindowEvent e)
          Invoked when a window is activated.
 void windowGainedFocus(WindowEvent e)
          Invoked when the Window is set to be the focused Window, which means that the Window, or one of its subcomponents, will receive keyboard events.
 void windowOpened(WindowEvent arg0)
          Invoked when a window has been opened.
 
Methods inherited from class java.awt.event.WindowAdapter
windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowLostFocus, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.WindowFocusListener
windowLostFocus
 
Methods inherited from interface java.awt.event.WindowListener
windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified
 

Constructor Detail

JXLoginPane.CapsOnWinListener

public JXLoginPane.CapsOnWinListener(org.jdesktop.swingx.JXLoginPane.CapsOnTest cot)
Method Detail

windowActivated

public void windowActivated(WindowEvent e)
Description copied from class: java.awt.event.WindowAdapter
Invoked when a window is activated.

Specified by:
windowActivated in interface WindowListener
Overrides:
windowActivated in class WindowAdapter

windowGainedFocus

public void windowGainedFocus(WindowEvent e)
Description copied from class: java.awt.event.WindowAdapter
Invoked when the Window is set to be the focused Window, which means that the Window, or one of its subcomponents, will receive keyboard events.

Specified by:
windowGainedFocus in interface WindowFocusListener
Overrides:
windowGainedFocus in class WindowAdapter

windowOpened

public void windowOpened(WindowEvent arg0)
Description copied from class: java.awt.event.WindowAdapter
Invoked when a window has been opened.

Specified by:
windowOpened in interface WindowListener
Overrides:
windowOpened in class WindowAdapter