MCPcopy Create free account
hub / github.com/PCGen/pcgen / createInputMap

Method createInputMap

code/src/java/pcgen/gui2/PCGenFrame.java:397–409  ·  view source on GitHub ↗
(ActionMap actionMap)

Source from the content-addressed store, hash-verified

395 }
396
397 private static InputMap createInputMap(ActionMap actionMap)
398 {
399 InputMap inputMap = new InputMap();
400 for (Object obj : actionMap.keys())
401 {
402 KeyStroke key = (KeyStroke) actionMap.get(obj).getValue(Action.ACCELERATOR_KEY);
403 if (key != null)
404 {
405 inputMap.put(key, obj);
406 }
407 }
408 return inputMap;
409 }
410
411 public PCGenActionMap getActionMap()
412 {

Callers 1

initComponentsMethod · 0.95

Calls 3

getValueMethod · 0.65
getMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected