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

Method setFontIcon

CodenameOne/src/com/codename1/ui/Label.java:382–387  ·  view source on GitHub ↗
(Font font, char c)

Source from the content-addressed store, hash-verified

380 ///
381 /// - `c`: one of the constants from the font
382 public void setFontIcon(Font font, char c) {
383 FontImage.setFontIcon(this, font, c);
384 fontIconSize = -1;
385 this.font = font;
386 fontIcon = c;
387 }
388
389 /// This method is shorthand for `char, float)`
390 ///

Callers 1

Calls 4

setFontIconMethod · 0.95
getIconStyleComponentMethod · 0.95
getStyleMethod · 0.95
getFontMethod · 0.65

Tested by 1