LPEX
3.6.6

com.ibm.lpex.core
Interface LpexActiveWindowListener


public interface LpexActiveWindowListener

Implement this interface to listen to changes in the active window of an LpexMultiWindow.

Create a listener object using this class, and then register it with an LpexMultiWindow using the addActiveWindowListener() method. When the active LpexWindow changes, the activeWindowChanged() method in the listener object is invoked. Example:

 
 lpexMultiWindow.addActiveWindowListener(new LpexActiveWindowListener() { 
  // the active window changed
  public void activeWindowChanged(LpexWindow lpexWindow)
  {
   selectNewElementInOutline(lpexWindow);
  }
 }); 

See Also:
LpexMultiWindow.addActiveWindowListener(com.ibm.lpex.core.LpexActiveWindowListener), LpexMultiWindow.removeActiveWindowListener(com.ibm.lpex.core.LpexActiveWindowListener)

Method Summary
 void activeWindowChanged(LpexWindow lpexWindow)
          This method is invoked when there is a change in the active window.
 

Method Detail

activeWindowChanged

void activeWindowChanged(LpexWindow lpexWindow)
This method is invoked when there is a change in the active window. The active window is the LpexWindow that either has the input focus, or will otherwise be given the input focus on the next setFocus() call.

Parameters:
lpexWindow - the new active window, or null if none (the last window has been closed)

LPEX
3.6.6

Copyright © 2012 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.