本文整理了Java中javax.swing.JComboBox.unregisterKeyboardAction()
方法的一些代码示例,展示了JComboBox.unregisterKeyboardAction()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JComboBox.unregisterKeyboardAction()
方法的具体详情如下:
包路径:javax.swing.JComboBox
类名称:JComboBox
方法名:unregisterKeyboardAction
暂无
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/skinlf
/**
* Description of the Method
*/
protected void uninstallKeyboardActions() {
super.uninstallKeyboardActions();
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke("KP_DOWN"));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.ALT_MASK));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke("alt KP_DOWN"));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke("KP_UP"));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.ALT_MASK));
comboBox.unregisterKeyboardAction(KeyStroke.getKeyStroke("alt KP_UP"));
}
代码示例来源:origin: net.sf.cuf/cuf-swing
mCriteria[i].unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0)); // let the ENTER key trigger the default button
gbc.gridx = 1;
gbc.insets = insetsCombo;
内容来源于网络,如有侵权,请联系作者删除!