com.alee.managers.focus
Interface GlobalFocusListener

All Superinterfaces:
java.util.EventListener

public interface GlobalFocusListener
extends java.util.EventListener

Global focus tracking listener.

Author:
Mikle Garin

Method Summary
 void focusChanged(java.awt.Component oldFocus, java.awt.Component newFocus)
          Informs about global focus changes within the application.
 

Method Detail

focusChanged

void focusChanged(java.awt.Component oldFocus,
                  java.awt.Component newFocus)
Informs about global focus changes within the application. In case focus goes outside the application or comes from other application one of components might be null.

Parameters:
oldFocus - previously focused component
newFocus - currently focused component