javax.swing.JCheckBox.addKeyListener()方法的使用及代码示例

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

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

JCheckBox.addKeyListener介绍

暂无

代码示例

代码示例来源:origin: fr.ifremer/isis-fish

protected void createServerNoPassPhrase() {
  $objectMap.put("serverNoPassPhrase", serverNoPassPhrase = new JCheckBox());
  
  serverNoPassPhrase.setName("serverNoPassPhrase");
  serverNoPassPhrase.setSelected(true);
  serverNoPassPhrase.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__serverNoPassPhrase"));
}

代码示例来源:origin: sc.fiji/fiji-lib

fullInfoCheckBox.addKeyListener(this);
fuzzyCheckBox = new JCheckBox("Fuzzy matching", false);
fuzzyCheckBox.addItemListener(this);
fuzzyCheckBox.addKeyListener(this);
closeCheckBox = new JCheckBox("Close when running", true);
fuzzyCheckBox.addItemListener(this);
fuzzyCheckBox.addKeyListener(this);

代码示例来源:origin: net.sf.taverna.t2.ui-impl/workbench-impl

keepMeInformedCheckBox.setSelected(previousRegistrationData.getKeepMeInformed());
keepMeInformedCheckBox.addKeyListener(new java.awt.event.KeyAdapter() {
  public void keyPressed(java.awt.event.KeyEvent evt) {
    if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
termsAndConditionsCheckBox.setFont(baseFont);
termsAndConditionsCheckBox.setBorder(null);
termsAndConditionsCheckBox.addKeyListener(new java.awt.event.KeyAdapter() {
  public void keyPressed(java.awt.event.KeyEvent evt) {
    if (evt.getKeyCode() == KeyEvent.VK_ENTER) {

代码示例来源:origin: org.bitbucket.goalhub.simpleide/jedit

filterCheckbox.addKeyListener(keyListener);
if(mode != CHOOSE_DIRECTORY_DIALOG)

代码示例来源:origin: Spoutcraft/LegacyLauncher

remember.setBorder(null);
remember.setForeground(Color.WHITE);
remember.addKeyListener(this);

相关文章

JCheckBox类方法