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

Method paint

CodenameOne/src/com/codename1/ui/Label.java:868–876  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

866
867 /// {@inheritDoc}
868 @Override
869 public void paint(Graphics g) {
870 if (legacyRenderer || (badgeText != null && badgeText.length() > 0)) {
871 initAutoResize();
872 getUIManager().getLookAndFeel().drawLabel(g, this);
873 return;
874 }
875 paintImpl(g);
876 }
877
878 void paintImpl(Graphics g) {
879 initAutoResize();

Callers 1

paintHintMethod · 0.95

Calls 6

initAutoResizeMethod · 0.95
paintImplMethod · 0.95
getLookAndFeelMethod · 0.80
lengthMethod · 0.65
drawLabelMethod · 0.45
getUIManagerMethod · 0.45

Tested by

no test coverage detected