KeyEventBindings<KeyboardReaderAction> bindings) {
char[] boundChars = bindings.getBoundChars();
Map<KeyboardReaderAction, List<Character>> charMap =
new HashMap<KeyboardReaderAction, List<Character>>();
for (char ch : boundChars) {
KeyboardReaderAction action = bindings.getCharAction(ch);
List<Character> list = charMap.get(action);
if (list == null) {
list = new ArrayList<Character>();
charMap.put(action, list);
}