Interface ShortcutListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getListenerDescription()
      Returns a (localized) description (or name) for this listener.
      java.lang.String getShortcutDescription​(javax.swing.KeyStroke stroke)
      Returns a short description for the specified thing...
      java.util.Iterator<javax.swing.KeyStroke> getShortCuts()
      Should return all short cuts this class want to be informed.
      void shortCut​(javax.swing.KeyStroke shortcut)
      This method is called when a shortcut from getShortCuts() is recognized.
    • Method Detail

      • getShortCuts

        java.util.Iterator<javax.swing.KeyStroke> getShortCuts()
        Should return all short cuts this class want to be informed. The elements have to be of type javax.swing.KeyStroke
        Returns:
        Iterator over all short
      • shortCut

        void shortCut​(javax.swing.KeyStroke shortcut)
        This method is called when a shortcut from getShortCuts() is recognized.
      • getListenerDescription

        java.lang.String getListenerDescription()
        Returns a (localized) description (or name) for this listener.
      • getShortcutDescription

        java.lang.String getShortcutDescription​(javax.swing.KeyStroke stroke)
        Returns a short description for the specified thing...