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

Method getStyle

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

Source from the content-addressed store, hash-verified

371
372 /// {@inheritDoc}
373 @Override
374 public Style getStyle() {
375 if (paintingFull) {
376 if (sliderFull == null) {
377 initStyles(fullUIID);
378 }
379 if (hasFocus()) {
380 return sliderFullSelected;
381 }
382 return sliderFull;
383 }
384 return super.getStyle();
385 }
386
387 /// Return the size we would generally like for the component
388 @Override

Callers 1

calcPreferredSizeMethod · 0.95

Calls 3

initStylesMethod · 0.95
hasFocusMethod · 0.80
getStyleMethod · 0.65

Tested by

no test coverage detected