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

Method laidOut

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

Source from the content-addressed store, hash-verified

325
326 /// {@inheritDoc}
327 @Override
328 protected void laidOut() {
329 super.laidOut();
330 if (isScrollable() && isInitialized() && scrollToSelected) {
331 int index = model.getSelectedIndex();
332 if (index >= 0) {
333 selectElement(index);
334 }
335 }
336 }
337
338 /// {@inheritDoc}
339 @Override

Callers 1

doLayoutMethod · 0.45

Calls 4

selectElementMethod · 0.95
isScrollableMethod · 0.65
getSelectedIndexMethod · 0.65
isInitializedMethod · 0.45

Tested by

no test coverage detected