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

Method commandAction

src/main/java/ui/MIDPTextBox.java:82–85  ·  view source on GitHub ↗

Called when action should be handled @param command @param displayable

(Command command, Displayable displayable)

Source from the content-addressed store, hash-verified

80 * @param displayable
81 */
82 public void commandAction(Command command, Displayable displayable) {
83 if (command==cmdCancel) { destroyView(); return;}
84 if (command==cmdOK) { destroyView(); tbn.OkNotify(t.getString()); return;}
85 }
86
87 public void destroyView(){
88 midlet.BombusMod.getInstance().setDisplayable(parentView);

Callers

nothing calls this directly

Calls 3

destroyViewMethod · 0.95
OkNotifyMethod · 0.65
getStringMethod · 0.65

Tested by

no test coverage detected