javax.swing.plaf.basic
Class BasicToolBarUI.FrameListener

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by javax.swing.plaf.basic.BasicToolBarUI.FrameListener
All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener
Enclosing class:
BasicToolBarUI

protected class BasicToolBarUI.FrameListener
extends WindowAdapter

This helper class listens for Window events from the floatable window and if it is closed, returns the JToolBar to the last known good location.


Constructor Summary
protected BasicToolBarUI.FrameListener()
           
 
Method Summary
 void windowClosing(WindowEvent e)
          This method is called when the floating window is closed.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, 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

BasicToolBarUI.FrameListener

protected BasicToolBarUI.FrameListener()
Method Detail

windowClosing

public void windowClosing(WindowEvent e)
This method is called when the floating window is closed.

Specified by:
windowClosing in interface WindowListener
Overrides:
windowClosing in class WindowAdapter
Parameters:
e - The WindowEvent.