Uses of Class
java.awt.event.WindowEvent
-
Packages that use WindowEvent 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。 -
-
Uses of WindowEvent in java.awt
Methods in java.awt with parameters of type WindowEvent Modifier and Type 方法 描述 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)
通过调用listener-a和listener-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)
通过调用listener-a和listener-b上的windowDeiconified方法来处理windowDeiconified事件。void
AWTEventMulticaster. windowGainedFocus(WindowEvent e)
通过调用listener-a和listener-b上的windowGainedFocus方法来处理windowGainedFocus事件。void
AWTEventMulticaster. windowIconified(WindowEvent e)
通过调用listener-a和listener-b上的windowIconified方法来处理windowIconified事件。void
AWTEventMulticaster. windowLostFocus(WindowEvent e)
通过调用listener-a和listener-b上的windowLostFocus方法来处理windowLostFocus事件。void
AWTEventMulticaster. windowOpened(WindowEvent e)
通过调用listener-a和listener-b上的windowOpened方法处理windowOpened事件。void
AWTEventMulticaster. windowStateChanged(WindowEvent e)
通过调用listener-a和listener-b上的windowStateChanged方法来处理windowStateChanged事件。 -
Uses of WindowEvent in java.awt.event
Methods in java.awt.event with parameters of type WindowEvent Modifier and Type 方法 描述 void
WindowAdapter. windowActivated(WindowEvent e)
激活窗口时调用。void
WindowListener. windowActivated(WindowEvent e)
当窗口设置为活动窗口时调用。void
WindowAdapter. windowClosed(WindowEvent e)
当窗口关闭时调用。void
WindowListener. windowClosed(WindowEvent e)
当窗口关闭时调用窗口调用处理结果时调用。void
WindowAdapter. windowClosing(WindowEvent e)
当窗口处于关闭状态时调用。void
WindowListener. windowClosing(WindowEvent e)
当用户尝试从窗口的系统菜单中关闭窗口时调用。void
WindowAdapter. windowDeactivated(WindowEvent e)
当窗口被禁用时调用。void
WindowListener. windowDeactivated(WindowEvent e)
当窗口不再是活动窗口时调用。void
WindowAdapter. windowDeiconified(WindowEvent e)
当窗口被去图标化时调用。void
WindowListener. windowDeiconified(WindowEvent e)
当窗口从最小化更改为正常状态时调用。void
WindowAdapter. windowGainedFocus(WindowEvent e)
当窗口设置为聚焦窗口时调用,这意味着窗口或其子组件之一将接收键盘事件。void
WindowFocusListener. windowGainedFocus(WindowEvent e)
当窗口设置为聚焦窗口时调用,这意味着窗口或其子组件之一将接收键盘事件。void
WindowAdapter. windowIconified(WindowEvent e)
当窗口被图标化时调用。void
WindowListener. windowIconified(WindowEvent e)
当窗口从正常状态更改为最小化状态时调用。void
WindowAdapter. windowLostFocus(WindowEvent e)
当窗口不再是聚焦窗口时调用,这意味着键盘事件将不再传递到窗口或其任何子组件。void
WindowFocusListener. windowLostFocus(WindowEvent e)
当窗口不再是聚焦窗口时调用,这意味着键盘事件将不再传递到窗口或其任何子组件。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 Modifier and Type 方法 描述 protected void
JDialog. processWindowEvent(WindowEvent e)
根据defaultCloseOperation
属性的状态处理窗口事件。protected void
JFrame. processWindowEvent(WindowEvent e)
处理在此组件上发生的窗口事件。void
JMenu.WinListener. windowClosing(WindowEvent e)
弹出窗口从外部关闭时取消选择菜单。 -
Uses of WindowEvent in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type WindowEvent Modifier and Type 方法 描述 void
BasicToolBarUI.FrameListener. windowClosing(WindowEvent w)
-