Uses of Class
java.awt.event.WindowEvent
-
Packages that use WindowEvent 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。 -
-
Uses of WindowEvent in java.awt
Methods in java.awt with parameters of type WindowEvent 变量和类型 方法 描述 protected void
Window. processWindowEvent(WindowEvent e)
通过将窗口事件分派给任何已注册的WindowListener对象来处理此窗口上发生的窗口事件。protected void
Window. processWindowFocusEvent(WindowEvent e)
通过将窗口焦点事件分派给任何已注册的WindowFocusListener对象来处理此窗口上发生的窗口焦点事件。protected void
Window. processWindowStateEvent(WindowEvent e)
处理在此窗口上发生的窗口状态事件,方法是将它们分派给任何已注册的WindowStateListener
对象。void
AWTEventMulticaster. windowActivated(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowActivated方法处理windowActivated事件。void
AWTEventMulticaster. windowClosed(WindowEvent e)
通过在listener-a和listener-b上调用windowClosed方法处理windowClosed事件。void
AWTEventMulticaster. windowClosing(WindowEvent e)
通过在listener-a和listener-b上调用windowClosing方法处理windowClosing事件。void
AWTEventMulticaster. windowDeactivated(WindowEvent e)
通过在listener-a和listener-b上调用windowDeactivated方法处理windowDeactivated事件。void
AWTEventMulticaster. windowDeiconified(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowDeiconified方法处理windowDeiconified事件。void
AWTEventMulticaster. windowGainedFocus(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowGainedFocus方法来处理windowGainedFocus事件。void
AWTEventMulticaster. windowIconified(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowIconified方法处理windowIconified事件。void
AWTEventMulticaster. windowLostFocus(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowLostFocus方法处理windowLostFocus事件。void
AWTEventMulticaster. windowOpened(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowOpened方法处理windowOpened事件。void
AWTEventMulticaster. windowStateChanged(WindowEvent e)
通过在侦听器-a和侦听器-b上调用windowStateChanged方法处理windowStateChanged事件。 -
Uses of WindowEvent in java.awt.event
Methods in java.awt.event with parameters of type WindowEvent 变量和类型 方法 描述 void
WindowAdapter. windowActivated(WindowEvent e)
激活窗口时调用。void
WindowListener. windowActivated(WindowEvent e)
将Window设置为活动Window时调用。void
WindowAdapter. windowClosed(WindowEvent e)
窗口关闭时调用。void
WindowListener. windowClosed(WindowEvent e)
由于在窗口上调用dispose而关闭窗口时调用。void
WindowAdapter. windowClosing(WindowEvent e)
窗口处于关闭状态时调用。void
WindowListener. windowClosing(WindowEvent e)
当用户尝试从窗口的系统菜单关闭窗口时调用。void
WindowAdapter. windowDeactivated(WindowEvent e)
窗口取消激活时调用。void
WindowListener. windowDeactivated(WindowEvent e)
当Window不再是活动Window时调用。void
WindowAdapter. windowDeiconified(WindowEvent e)
窗口取消图标化时调用。void
WindowListener. windowDeiconified(WindowEvent e)
窗口从最小化状态更改为正常状态时调用。void
WindowAdapter. windowGainedFocus(WindowEvent e)
当Window设置为焦点窗口时调用,这意味着Window或其子组件之一将接收键盘事件。void
WindowFocusListener. windowGainedFocus(WindowEvent e)
当Window设置为焦点窗口时调用,这意味着Window或其子组件之一将接收键盘事件。void
WindowAdapter. windowIconified(WindowEvent e)
窗口图标化时调用。void
WindowListener. windowIconified(WindowEvent e)
当窗口从正常状态更改为最小化状态时调用。void
WindowAdapter. windowLostFocus(WindowEvent e)
当Window不再是焦点窗口时调用,这意味着键盘事件将不再传递给Window或其任何子组件。void
WindowFocusListener. windowLostFocus(WindowEvent e)
当Window不再是焦点窗口时调用,这意味着键盘事件将不再传递给Window或其任何子组件。void
WindowAdapter. windowOpened(WindowEvent e)
打开窗口时调用。void
WindowListener. windowOpened(WindowEvent e)
第一次使窗口可见时调用。void
WindowAdapter. windowStateChanged(WindowEvent e)
更改窗口状态时调用。void
WindowStateListener. windowStateChanged(WindowEvent e)
窗口状态更改时调用。 -
Uses of WindowEvent in javax.swing
Methods in javax.swing with parameters of type WindowEvent 变量和类型 方法 描述 protected void
JDialog. processWindowEvent(WindowEvent e)
处理窗口事件,具体取决于defaultCloseOperation
属性的状态。protected void
JFrame. processWindowEvent(WindowEvent e)
处理在此组件上发生的窗口事件。void
JMenu.WinListener. windowClosing(WindowEvent e)
从外部关闭弹出窗口时取消选择菜单。
-