MCPcopy Create free account
hub / github.com/Card-Forge/forge / keyDown

Method keyDown

forge-gui-mobile/src/forge/toolbox/FTextField.java:230–233  ·  view source on GitHub ↗
(int keyCode)

Source from the content-addressed store, hash-verified

228 }
229
230 @Override
231 public boolean keyDown(int keyCode) {
232 return startEdit(); //start edit if keyDown received while key input not active
233 }
234
235 public boolean startEdit() {
236 if (readOnly) { return false; }

Callers

nothing calls this directly

Calls 10

startEditMethod · 0.95
endKeyInputMethod · 0.95
setTextMethod · 0.95
insertTextMethod · 0.95
isCtrlKeyDownMethod · 0.95
getClipboardMethod · 0.95
getSelectedTextMethod · 0.95
lengthMethod · 0.80
setContentsMethod · 0.45
getContentsMethod · 0.45

Tested by

no test coverage detected