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

Method eventOk

src/main/java/Menu/MyMenu.java:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 public void eventOk(){
64 MenuItem me=(MenuItem) getFocusedObject();
65 if (me==null) return;
66
67 destroyView();
68
69 ml.menuAction(getCommand(me.index), (VirtualList)parentView);
70 }
71
72 public MenuCommand getCommand(int index) {
73 if (index > commands.size() - 1)

Callers 2

touchLeftPressedMethod · 0.45
executeCommandMethod · 0.45

Calls 4

getCommandMethod · 0.95
getFocusedObjectMethod · 0.80
menuActionMethod · 0.65
destroyViewMethod · 0.45

Tested by

no test coverage detected