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

Method MIDPTextBox

src/main/java/ui/MIDPTextBox.java:60–71  ·  view source on GitHub ↗
(String mainbar, String text, TextBoxNotify tbn, int constraints)

Source from the content-addressed store, hash-verified

58 }
59
60 public MIDPTextBox(String mainbar, String text, TextBoxNotify tbn, int constraints) {
61
62 t=new TextBox(mainbar, text, 150, constraints);
63
64 this.tbn=tbn;
65
66 t.addCommand(cmdOK);
67 t.addCommand(cmdCancel);
68
69 t.setCommandListener(this);
70 midlet.BombusMod.getInstance().setDisplayable(t);
71 }
72
73 public MIDPTextBox(String mainbar, String text, TextBoxNotify tbn) {
74 this(mainbar, text, tbn, TextField.ANY);

Callers

nothing calls this directly

Calls 4

setDisplayableMethod · 0.80
setCommandListenerMethod · 0.65
addCommandMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected