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

Method Label

CodenameOne/src/com/codename1/ui/Label.java:134–145  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

132 ///
133 /// - `text`: the string that the label presents.
134 public Label(String text) {
135 endsWith3Points = UIManager.getInstance().getLookAndFeel().isDefaultEndsWith3Points();
136 noBind = true;
137
138 // This solves overridable method calls in constructor which are
139 // a source of some core problems in Java/CodenameOne
140 setUIIDFinal("Label");
141 setLabelUIID("Label");
142 this.text = text;
143 localize();
144 setFocusable(false);
145 }
146
147 /// Constructs a new label with the specified string of text and uiid
148 ///

Callers

nothing calls this directly

Calls 8

getInstanceMethod · 0.95
setLabelUIIDMethod · 0.95
localizeMethod · 0.95
getLookAndFeelMethod · 0.80
setUIIDFinalMethod · 0.80
setFocusableMethod · 0.65
requiresDrawImageMethod · 0.45

Tested by

no test coverage detected