(String text)
| 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 | /// |
nothing calls this directly
no test coverage detected