Examples of unregisterKeyboardAction()


Examples of javax.swing.JButton.unregisterKeyboardAction()

    }

    final Object value = button.getAction().getValue(Action.ACCELERATOR_KEY);
    if (value instanceof KeyStroke)
    {
      button.unregisterKeyboardAction((KeyStroke) value);
    }

    return button;
  }
View Full Code Here

Examples of javax.swing.JButton.unregisterKeyboardAction()

    }

    final Object value = button.getAction().getValue(Action.ACCELERATOR_KEY);
    if (value instanceof KeyStroke)
    {
      button.unregisterKeyboardAction((KeyStroke) value);
    }

    return button;
  }
View Full Code Here

Examples of javax.swing.JRootPane.unregisterKeyboardAction()

    private void cancelPopup() {
  Container top = getTopMostContainer();
  ungrabContainers();
  JRootPane root = getRootPane();
  if (root != null) {
      root.unregisterKeyboardAction
    (KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0));
  } else if (top != null) {
      top.removeKeyListener(pka);
  }
  window.removeWindowListener(pwa);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.action.ActionButton.unregisterKeyboardAction()

    }

    final Object value = button.getAction().getValue(Action.ACCELERATOR_KEY);
    if (value instanceof KeyStroke)
    {
      button.unregisterKeyboardAction((KeyStroke) value);
    }

    return button;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.