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

Method getCurrentSelected

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

Source from the content-addressed store, hash-verified

453 ///
454 /// visual selection
455 public int getCurrentSelected() {
456 if (fixedSelection > FIXED_NONE_BOUNDRY && isDragActivated()) {
457 return fixedDraggedSelection;
458 }
459 return model.getSelectedIndex();
460 }
461
462 /// Returns the current selected offset in the list
463 ///

Callers 7

getVisibleBoundsMethod · 0.95
paintMethod · 0.95
paintFocusMethod · 0.95
pointerPressedMethod · 0.95
invoke5Method · 0.80

Calls 2

isDragActivatedMethod · 0.80
getSelectedIndexMethod · 0.65

Tested by

no test coverage detected