- java.lang.Object
-
- java.awt.event.WindowAdapter
-
- javax.swing.plaf.basic.BasicToolBarUI.FrameListener
-
- All Implemented Interfaces:
-
WindowFocusListener
,WindowListener
,WindowStateListener
,EventListener
- Enclosing class:
- BasicToolBarUI
protected class BasicToolBarUI.FrameListener extends WindowAdapter
该类监听窗口事件。
-
-
构造方法摘要
构造方法 Modifier Constructor 描述 protected
FrameListener()
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 void
windowClosing(WindowEvent w)
当窗口处于关闭状态时调用。-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
-
-
-
方法详细信息
-
windowClosing
public void windowClosing(WindowEvent w)
描述从类复制:WindowAdapter
当窗口处于关闭状态时调用。 此时可以覆盖关闭操作。- Specified by:
-
windowClosing
在接口WindowListener
- 重写:
-
windowClosing
在WindowAdapter
- 参数
-
w
- 要处理的事件
-
-