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

Method focusToContact

src/main/java/Client/ActiveContacts.java:110–115  ·  view source on GitHub ↗
(final Contact c)

Source from the content-addressed store, hash-verified

108 }
109
110 private void focusToContact(final Contact c) {
111 int index = itemsList.indexOf(c);
112 if (index >= 0) {
113 moveCursorTo(index);
114 }
115 }
116
117 public void keyGreen() {
118 Contact c = (Contact) getFocusedObject();

Callers 3

ActiveContactsMethod · 0.95
focusToNextUnreadedMethod · 0.95
eventOkMethod · 0.45

Calls 1

moveCursorToMethod · 0.80

Tested by

no test coverage detected