本文整理了Java中javax.swing.JPopupMenu.addComponentListener()
方法的一些代码示例,展示了JPopupMenu.addComponentListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPopupMenu.addComponentListener()
方法的具体详情如下:
包路径:javax.swing.JPopupMenu
类名称:JPopupMenu
方法名:addComponentListener
暂无
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void applyDataBinding() {
if (popup != null) {
$bindingSources.put("popup", popup);
popup.addComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
}
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets-i18n
@Override
public void applyDataBinding() {
if (popup != null) {
$bindingSources.put("popup", popup);
popup.addComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
}
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget
public void applyDataBinding(String $binding) {
if ("button.selected".equals($binding)) {
if (popup != null) {
$bindingSources.put("popup", popup);
popup.addComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, $JPanel0, "$pr$u0"));
}
}
processDataBinding($binding);
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget
public void applyDataBinding(String $binding) {
if ("renderer.showIcon".equals($binding)) {
addPropertyChangeListener("showIcon", $DataSource2);
} else if ("renderer.showText".equals($binding)) {
addPropertyChangeListener("showText", $DataSource3);
} else if ("button.icon".equals($binding)) {
addPropertyChangeListener("selectedLocale", $DataSource5);
} else if ("button.selected".equals($binding)) {
if (popup != null) {
$bindingSources.put("popup", popup);
popup.addComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, content, "$pr$u0"));
}
} else if ("button.text".equals($binding)) {
addPropertyChangeListener("selectedLocale", $DataSource7);
} else if ("button.toolTipText".equals($binding)) {
addPropertyChangeListener("selectedLocale", $DataSource8);
}
processDataBinding($binding);
}
代码示例来源:origin: digital-preservation/droid
jPopupMenu1.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentShown(java.awt.event.ComponentEvent evt) {
jPopupMenu1ComponentShown(evt);
代码示例来源:origin: uk.gov.nationalarchives/droid-ui
jPopupMenu1.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentShown(java.awt.event.ComponentEvent evt) {
jPopupMenu1ComponentShown(evt);
内容来源于网络,如有侵权,请联系作者删除!