Class KeyBindingDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class KeyBindingDialog extends JDialog
copied from jEdit
See Also:
  • Constructor Details

    • KeyBindingDialog

      public KeyBindingDialog(JFrame parent, KeyBinding toRemap)
  • Method Details

    • getValue

      public Object getValue()
    • getShortcut

      public String getShortcut()
      Returns the shortcut, or null if the current shortcut should be removed or the dialog either has been cancelled. Use isOK() to determine if the latter is true.
    • isOK

      public boolean isOK()
      Returns true, if the dialog has not been cancelled.
    • getFocusTraversalKeysEnabled

      public boolean getFocusTraversalKeysEnabled()
      Makes the tab key work in Java 1.4.
      Overrides:
      getFocusTraversalKeysEnabled in class Component
    • processKeyEvent

      protected void processKeyEvent(KeyEvent evt)
      Overrides:
      processKeyEvent in class Component
    • getSymbolicName

      public static String getSymbolicName(int keyCode)