Class ParsedKeyStrokeMappingProvider

java.lang.Object
org.fest.swing.keystroke.ParsedKeyStrokeMappingProvider
All Implemented Interfaces:
KeyStrokeMappingProvider

class ParsedKeyStrokeMappingProvider extends Object implements KeyStrokeMappingProvider
Understands a KeyStrokeMappingProvider created by parsing a text file containing all the key mappings.
Since:
1.2
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • keyStrokeMappings

      public Collection<KeyStrokeMapping> keyStrokeMappings()
      Returns the mapping of characters and KeyStrokes. The mappings are obtained from a text file. In addition, this provider will automatically add mappings for following keys:
      • Backspace
      • Delete
      • Enter
      • Escape
      • Tab
      Specified by:
      keyStrokeMappings in interface KeyStrokeMappingProvider
      Returns:
      the mapping of characters and KeyStrokes.