本文整理了Java中javax.swing.JComboBox.removePopupMenuListener()
方法的一些代码示例,展示了JComboBox.removePopupMenuListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JComboBox.removePopupMenuListener()
方法的具体详情如下:
包路径:javax.swing.JComboBox
类名称:JComboBox
方法名:removePopupMenuListener
暂无
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (source != null) {
source.removePopupMenuListener(sourceAdapter);
source = null;
}
}
}
代码示例来源:origin: xyz.cofe/gui.swing
@Override
public void close() throws IOException {
if(cmpt!=null && l!=null ){
cmpt.removePopupMenuListener(l);
cmpt = null;
l = null;
}
}
};
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (source != null) {
source.removePopupMenuListener(sourceAdapter);
source = null;
}
}
}
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (source != null) {
source.removePopupMenuListener(sourceAdapter);
source = null;
}
}
}
代码示例来源:origin: xyz.cofe/gui.swing
@Override
public void close() throws IOException {
if(cmpt!=null && l!=null ){
cmpt.removePopupMenuListener(l);
cmpt = null;
l = null;
}
}
};
代码示例来源:origin: xyz.cofe/gui.swing
@Override
public void close() throws IOException {
if(cmpt!=null && l!=null ){
cmpt.removePopupMenuListener(l);
cmpt = null;
l = null;
}
}
};
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-javafx2-project
public void removePopupMenuListener(PopupMenuListener l) {
combo.removePopupMenuListener(l);
}
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-bugtracking
@Override
public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
comboBox.removePopupMenuListener(this);
/* Restore the item selection listener: */
comboBox.addItemListener(RepositoryComboSupport.this);
}
@Override
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-bugtracking
@Override
public void popupMenuCanceled(PopupMenuEvent e) {
comboBox.removePopupMenuListener(this);
/* Restore the item selection listener: */
comboBox.addItemListener(RepositoryComboSupport.this);
}
@Override
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-bugtracking
@Override
public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
LOG.finer("popupMenuWillBecomeInvisible()"); //NOI18N
comboBox.removePopupMenuListener(this);
}
@Override
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-bugtracking
@Override
public void popupMenuCanceled(PopupMenuEvent e) {
LOG.finer("popupMenuCanceled()"); //NOI18N
comboBox.removePopupMenuListener(this);
LOG.finest(" - processing deferred selection"); //NOI18N
preselectItemUnconditionally(repoToPreselect);
}
});
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-bugtracking
@Override
public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
comboBox.removePopupMenuListener(this);
if (comboBox.getSelectedItem() != SELECT_REPOSITORY) {
comboBoxModel.removeElementAt(0);
} else {
/* Restore the item selection listener: */
comboBox.addItemListener(RepositoryComboSupport.this);
}
}
});
代码示例来源:origin: com.jidesoft/jide-oss
@Override
public void uninstallListeners() {
super.uninstallListeners();
if (_component instanceof JComboBox) {
((JComboBox) _component).getModel().removeListDataListener(this);
((JComboBox) _component).removePopupMenuListener(this);
}
_component.removePropertyChangeListener("model", this);
}
内容来源于网络,如有侵权,请联系作者删除!