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

Method eventOk

src/main/java/Conference/AppendNick.java:67–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 public void eventOk(){
68 try {
69 String nick=((Contact)getFocusedObject()).getJid().toString();
70 int rp=nick.indexOf('/');
71 StringBuffer b=new StringBuffer(nick.substring(rp+1));
72
73 if (caretPos==0) b.append(':');
74 me.insert(b.toString(), caretPos);
75 b=null;
76 } catch (Exception e) {}
77 midlet.BombusMod.getInstance().setDisplayable(me.textbox);
78 }
79
80 public void cmdOk() { eventOk(); }
81

Callers 1

cmdOkMethod · 0.95

Calls 7

getFocusedObjectMethod · 0.80
appendMethod · 0.80
setDisplayableMethod · 0.80
insertMethod · 0.65
toStringMethod · 0.45
getJidMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected