Class PropertiesShortcuts


  • public class PropertiesShortcuts
    extends java.lang.Object
    The PropertiesShortcuts class represents a persistent set of shortcut.
    • Constructor Detail

      • PropertiesShortcuts

        public PropertiesShortcuts()
    • Method Detail

      • loadFromClasspath

        public void loadFromClasspath​(java.lang.String propertiesFile)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • loadFromFile

        public void loadFromFile​(java.io.File file)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getKeyStroke

        public javax.swing.KeyStroke getKeyStroke​(java.lang.String key)
      • bindKeyStrokes

        public void bindKeyStrokes​(javax.swing.JMenuBar menu)
      • bindKeyStrokes

        public void bindKeyStrokes​(javax.swing.JMenuItem item)
      • bindKeyStrokes

        public void bindKeyStrokes​(javax.swing.InputMap inputMap,
                                   java.lang.String... keys)
      • isEmpty

        public boolean isEmpty()