本文整理了Java中javax.swing.JPopupMenu.removeComponentListener()
方法的一些代码示例,展示了JPopupMenu.removeComponentListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPopupMenu.removeComponentListener()
方法的具体详情如下:
包路径:javax.swing.JPopupMenu
类名称: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);
}
}
内容来源于网络,如有侵权,请联系作者删除!