Package org.fest.swing.keystroke
Class ParsedKeyStrokeMappingProvider
java.lang.Object
org.fest.swing.keystroke.ParsedKeyStrokeMappingProvider
- All Implemented Interfaces:
KeyStrokeMappingProvider
Understands a
KeyStrokeMappingProvider
created by parsing a text file containing all the key
mappings.- Since:
- 1.2
- See Also:
-
Field Summary
FieldsFields inherited from interface org.fest.swing.keystroke.KeyStrokeMappingProvider
NO_MASK
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mappings
-
-
Constructor Details
-
ParsedKeyStrokeMappingProvider
ParsedKeyStrokeMappingProvider(List<KeyStrokeMapping> mappings)
-
-
Method Details
-
keyStrokeMappings
Returns the mapping of characters and
s. The mappings are obtained from a text file. In addition, this provider will automatically add mappings for following keys:KeyStroke
- Backspace
- Delete
- Enter
- Escape
- Tab
- Specified by:
keyStrokeMappings
in interfaceKeyStrokeMappingProvider
- Returns:
- the mapping of characters and
KeyStroke
s.
-