java.awt.event.WindowListener.windowDeactivated()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(93)

本文整理了Java中java.awt.event.WindowListener.windowDeactivated()方法的一些代码示例,展示了WindowListener.windowDeactivated()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowListener.windowDeactivated()方法的具体详情如下:
包路径:java.awt.event.WindowListener
类名称:WindowListener
方法名:windowDeactivated

WindowListener.windowDeactivated介绍

[英]Invoked when a Window is no longer the active Window. Only a Frame can be the active Window. The native windowing system may denote the active Window or its children with special decorations, such as a highlighted title bar. The active Window is always either the focused Window, or the first Frame that is an owner of the focused Window.
[中]当窗口不再是活动窗口时调用。只有一个框架可以作为活动窗口。本机窗口系统可能会使用特殊的装饰(例如高亮显示的标题栏)来表示活动窗口或其子窗口。活动窗口始终是聚焦窗口,或者是作为聚焦窗口所有者的第一帧。

代码示例

代码示例来源:origin: geotools/geotools

/** Invoked when an internal frame is de-activated. */
  public void internalFrameDeactivated(InternalFrameEvent event) {
    listener.windowDeactivated(null);
  }
}

代码示例来源:origin: org.geotools/gt-metadata

/**
   * Invoked when an internal frame is de-activated.
   */
  public void internalFrameDeactivated(InternalFrameEvent event) {
    listener.windowDeactivated(null);
  }
}

代码示例来源:origin: org.geotools/gt2-metadata

/**
   * Invoked when an internal frame is de-activated.
   */
  public void internalFrameDeactivated(InternalFrameEvent event) {
    listener.windowDeactivated(null);
  }
}

相关文章