Class KeyEntryDialog

java.lang.Object
docking.DialogComponentProvider
docking.actions.KeyEntryDialog
All Implemented Interfaces:
ActionContextProvider, StatusListener, TaskListener

public class KeyEntryDialog extends DialogComponentProvider
Dialog to set the key binding on an action. It is triggered by the F4 key.
  • Constructor Details

  • Method Details

    • setKeyStroke

      public void setKeyStroke(KeyStroke ks)
      Sets the given keystroke value into the text field of this dialog
      Parameters:
      ks - the keystroke to set
    • cancelCallback

      protected void cancelCallback()
      Description copied from class: DialogComponentProvider
      The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
      Overrides:
      cancelCallback in class DialogComponentProvider
    • okCallback

      protected void okCallback()
      Description copied from class: DialogComponentProvider
      The callback method for when the "OK" button is pressed.
      Overrides:
      okCallback in class DialogComponentProvider