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

Method paint

CodenameOne/src/com/codename1/ui/Button.java:1089–1097  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

1087 }
1088
1089 @Override
1090 public void paint(Graphics g) {
1091 if (isLegacyRenderer()) {
1092 initAutoResize();
1093 getUIManager().getLookAndFeel().drawButton(g, this);
1094 return;
1095 }
1096 super.paintImpl(g);
1097 }
1098
1099 /// Indicates whether text on the button should be drawn capitalized by
1100 /// default to match the Android design. By default only `Button` and

Callers

nothing calls this directly

Calls 6

isLegacyRendererMethod · 0.80
initAutoResizeMethod · 0.80
getLookAndFeelMethod · 0.80
paintImplMethod · 0.80
drawButtonMethod · 0.45
getUIManagerMethod · 0.45

Tested by

no test coverage detected