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

Method paintBackground

CodenameOne/src/com/codename1/ui/Form.java:1762–1771  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

1760 if (formLayeredPane == null) {
1761 formLayeredPane = new Container(new LayeredLayout()) {
1762 @Override
1763 protected void paintBackground(Graphics g) {
1764 if (getComponentCount() > 0) {
1765 if (super.isVisible()) {
1766 super.setVisible(false);
1767 Form.this.paint(g);
1768 super.setVisible(true);
1769 }
1770 }
1771 }
1772
1773 @Override
1774 public void paintBackgrounds(Graphics g) {

Callers

nothing calls this directly

Calls 4

getComponentCountMethod · 0.65
isVisibleMethod · 0.65
paintMethod · 0.65
setVisibleMethod · 0.45

Tested by

no test coverage detected