MCPcopy Index your code
hub / github.com/arduino/Arduino / enableBind

Method enableBind

app/src/processing/app/helpers/Keys.java:183–187  ·  view source on GitHub ↗
(final JComponent component,
                                 final Action action, final KeyStroke keystroke,
                                 int condition)

Source from the content-addressed store, hash-verified

181 }
182
183 private static void enableBind(final JComponent component,
184 final Action action, final KeyStroke keystroke,
185 int condition) {
186 component.getInputMap(condition).put(keystroke, action);
187 }
188
189 private static void disableBind(final JComponent component,
190 final Action action,

Callers 1

bindMethod · 0.95

Calls 1

putMethod · 0.80

Tested by

no test coverage detected