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

Method disableBind

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

Source from the content-addressed store, hash-verified

187 }
188
189 private static void disableBind(final JComponent component,
190 final Action action,
191 final KeyStroke keystroke, int condition) {
192 component.getInputMap(condition).put(keystroke, action);
193 }
194
195 private static final int CTRL = Toolkit.getDefaultToolkit()
196 .getMenuShortcutKeyMask();

Callers 1

bindMethod · 0.95

Calls 1

putMethod · 0.80

Tested by

no test coverage detected