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

Method isCapsText

CodenameOne/src/com/codename1/ui/Button.java:1109–1119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1107 ///
1108 /// the capsText
1109 public final boolean isCapsText() {
1110 if (capsText == null) {
1111 if (capsTextDefault) {
1112 String uiid = getUIID();
1113 return "Button".equals(uiid) || "RaisedButton".equals(uiid) ||
1114 super.getUIManager().getThemeConstant("capsButtonUiids", "").indexOf(uiid) > -1;
1115 }
1116 return false;
1117 }
1118 return capsText;
1119 }
1120
1121 /// Indicates whether text on the button should be drawn capitalized by
1122 /// default to match the Android design. By default only `Button` and

Callers 5

ButtonMethod · 0.95
setUIIDMethod · 0.95
setTextMethod · 0.95
invoke6Method · 0.80
invoke0Method · 0.80

Calls 5

getThemeConstantMethod · 0.80
equalsMethod · 0.65
indexOfMethod · 0.65
getUIIDMethod · 0.45
getUIManagerMethod · 0.45

Tested by

no test coverage detected