javax.swing.JDesktopPane.removeComponentListener()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(93)

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

JDesktopPane.removeComponentListener介绍

暂无

代码示例

代码示例来源:origin: xyz.cofe/docking-frames-core

  1. public void uninstall( ScreenDockStation station ){
  2. station.removeDockStationListener( stationListener );
  3. station.removeScreenDockStationListener( screenListener );
  4. dockables.remove( station );
  5. if( dockables.isEmpty() ){
  6. desktop.removeComponentListener( componentListener );
  7. }
  8. }

代码示例来源:origin: org.opentcs.thirdparty.dockingframes/docking-frames-core

  1. public void uninstall( ScreenDockStation station ){
  2. station.removeDockStationListener( stationListener );
  3. station.removeScreenDockStationListener( screenListener );
  4. dockables.remove( station );
  5. if( dockables.isEmpty() ){
  6. desktop.removeComponentListener( componentListener );
  7. }
  8. }

代码示例来源:origin: khuxtable/seaglass

  1. protected void uninstallListeners() {
  2. if (taskBar != null) {
  3. desktop.removeComponentListener(taskBar);
  4. desktop.removeContainerListener(taskBar);
  5. }
  6. desktop.removePropertyChangeListener(this);
  7. super.uninstallListeners();
  8. }

相关文章