MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / menuPressed

Method menuPressed

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

Source from the content-addressed store, hash-verified

173 }
174
175 public void menuPressed() {
176 if (menuCommand().equals(SR.MS_MENU)) {
177 showMenu();
178 } else {
179 if (!cf.swapMenu) {
180 MenuCommand commandOk = findCommand(MenuCommand.OK);
181 menuAction(commandOk == null ? cmdOk : commandOk, this);
182 } else {
183 if (menuCommands.size() == 2) {
184 MenuCommand commandScreen = findCommand(MenuCommand.SCREEN);
185 menuAction(commandScreen == null ? cmdOk : commandScreen, this);
186 }
187 }
188 }
189 }
190
191 public void selectPressed() {
192 if (cf.swapMenu) {

Callers 2

touchLeftPressedMethod · 0.95
touchRightPressedMethod · 0.95

Calls 6

menuCommandMethod · 0.95
showMenuMethod · 0.95
findCommandMethod · 0.95
menuActionMethod · 0.95
equalsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected