MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getSelectedIndex

Method getSelectedIndex

CodenameOne/src/com/codename1/ui/List.java:467–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

465 ///
466 /// the current selected offset in the list
467 public int getSelectedIndex() {
468 return model.getSelectedIndex();
469 }
470
471 /// Sets the current selected offset in the list, by default this implementation
472 /// will scroll the list to the selection if the selection is outside of the screen

Callers 11

dataChangedMethod · 0.95
paintMethod · 0.95
getSelectedRectMethod · 0.95
pointerSelectMethod · 0.95
pointerReleasedImplMethod · 0.95
paramStringMethod · 0.95
testGetSelectedIndexMethod · 0.95
testSetSelectedIndexMethod · 0.95
testEmptyListMethod · 0.95

Calls 1

getSelectedIndexMethod · 0.65

Tested by 5

testGetSelectedIndexMethod · 0.76
testSetSelectedIndexMethod · 0.76
testEmptyListMethod · 0.76