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

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

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

JPopupMenu.removeComponentListener介绍

暂无

代码示例

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

@Override
public void removeDataBinding() {
  if (popup != null) {
    JPopupMenu $target = (JPopupMenu) $bindingSources.remove("popup");
    if ($target != null) {
      $target.removeComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
    }
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

public void removeDataBinding(String $binding) {
  if ("button.selected".equals($binding)) {
    if (popup != null) {
      ((javax.swing.JPopupMenu) $bindingSources.remove("popup")).removeComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, $JPanel0, "$pr$u0"));
    }
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets-i18n

@Override
public void removeDataBinding() {
  if (popup != null) {
    JPopupMenu $target = (JPopupMenu) $bindingSources.remove("popup");
    if ($target != null) {
      $target.removeComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
    }
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

public void removeDataBinding(String $binding) {
  if ("renderer.showIcon".equals($binding)) {
      removePropertyChangeListener("showIcon", $DataSource2);
  
  } else if ("renderer.showText".equals($binding)) {
      removePropertyChangeListener("showText", $DataSource3);
  
  } else if ("button.icon".equals($binding)) {
      removePropertyChangeListener("selectedLocale", $DataSource5);
  
  } else if ("button.selected".equals($binding)) {
    if (popup != null) {
      ((javax.swing.JPopupMenu) $bindingSources.remove("popup")).removeComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, content, "$pr$u0"));
    }
  } else if ("button.text".equals($binding)) {
      removePropertyChangeListener("selectedLocale", $DataSource7);
  
  } else if ("button.toolTipText".equals($binding)) {
      removePropertyChangeListener("selectedLocale", $DataSource8);
  
  }
}

相关文章

JPopupMenu类方法