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

Method getSideGap

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

Source from the content-addressed store, hash-verified

371
372 /// {@inheritDoc}
373 @Override
374 public int getSideGap() {
375 // isScrollableY() in the base method is very expensive since it triggers getScrollDimension before the layout is complete!
376 if (isScrollVisible() && orientation != HORIZONTAL) {
377 return getUIManager().getLookAndFeel().getVerticalScrollWidth();
378 }
379 return 0;
380 }
381
382 /// {@inheritDoc}
383 @Override

Callers 15

getVisibleBoundsMethod · 0.95
paintMethod · 0.95
getSelectedRectMethod · 0.95
pointerSelectMethod · 0.95
pointerReleasedImplMethod · 0.95
layoutContainerMethod · 0.45
showPopupDialogMethod · 0.45
layoutContainerMethod · 0.45
getReferenceBoxMethod · 0.45
changeReferenceMethod · 0.45
translatePixelsMethod · 0.45

Calls 4

getLookAndFeelMethod · 0.80
isScrollVisibleMethod · 0.45
getUIManagerMethod · 0.45

Tested by 1

invoke3Method · 0.36