MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / selectPressed

Method selectPressed

src/main/java/ui/controls/form/DefForm.java:191–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 public void selectPressed() {
192 if (cf.swapMenu) {
193 MenuCommand commandOk = findCommand(MenuCommand.OK);
194 menuAction(commandOk == null ? cmdOk : commandOk, this);
195 } else {
196 cmdCancel();
197 }
198 }
199 public void touchLeftPressed() {
200 if (cf.swapMenu) {
201 selectPressed();

Callers 2

touchLeftPressedMethod · 0.95
touchRightPressedMethod · 0.95

Calls 3

findCommandMethod · 0.95
menuActionMethod · 0.95
cmdCancelMethod · 0.45

Tested by

no test coverage detected