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

Method actionPerformed

CodenameOne/src/com/codename1/ui/Label.java:79–84  ·  view source on GitHub ↗
(ActionEvent evt)

Source from the content-addressed store, hash-verified

77 private Image icon;
78 private final ActionListener iconChangeListener = new ActionListener() {
79 @Override
80 public void actionPerformed(ActionEvent evt) {
81 if (isInitialized() && evt.getSource() == getIcon()) {
82 repaint();
83 }
84 }
85
86 };
87 private Image maskedIcon;

Callers

nothing calls this directly

Calls 4

getIconMethod · 0.95
getSourceMethod · 0.65
repaintMethod · 0.65
isInitializedMethod · 0.45

Tested by

no test coverage detected