psdi.workflow.util

Class KeyHandler

  • java.lang.Object
    • psdi.workflow.util.KeyHandler


  • public class KeyHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      KeyHandler() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static javax.swing.KeyStroke getKeyStroke(java.lang.String keyString)
      Returns the keystroke for the string.
      static java.lang.String getMnemonic(java.lang.String label)
      Returns the mnemonic from a label
      static java.lang.String removeMnemonicIndicator(java.lang.String label)
      Returns the label with the mnemonic indicator (&)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyHandler

        public KeyHandler()
    • Method Detail

      • getMnemonic

        public static java.lang.String getMnemonic(java.lang.String label)
        Returns the mnemonic from a label
        Parameters:
        label - The label
        Returns:
        the Mnemonic
      • removeMnemonicIndicator

        public static java.lang.String removeMnemonicIndicator(java.lang.String label)
        Returns the label with the mnemonic indicator (&)
        Parameters:
        label - The label
        Returns:
        the label with the indicator
      • getKeyStroke

        public static javax.swing.KeyStroke getKeyStroke(java.lang.String keyString)
        Returns the keystroke for the string. The modifiers must be specified in the order CTRL,SHIFT,ALT
        Parameters:
        keyString - the Key string
        Returns:
        the keystroke