Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ setFont
Method
setFont
CodenameOne/src/com/codename1/ui/plaf/Style.java:920–922 ·
view source on GitHub ↗
(Font font)
Source
from the content-addressed store, hash-verified
918
///
919
/// - `font`: the font
920
public
void
setFont(Font font) {
921
setFont(font, false);
922
}
923
924
/// Sets the elevation value. Valid values include 0, 1, 2, 3, 4, 6, 8, 9, 12, 16, and 24.
925
///
Callers
12
setIcon
Method · 0.95
setFontIcon
Method · 0.95
setFontSize
Method · 0.95
setFontSizePercent
Method · 0.95
getDefaultRefreshIcon
Method · 0.95
createStyle
Method · 0.95
merge
Method · 0.95
ShaiForm
Method · 0.95
ShaiForm
Method · 0.95
testCreateCopiesStyleState
Method · 0.95
testSetPaddingAdjustsFontSize
Method · 0.95
testStyleParserMergesFontDefinitions
Method · 0.95
Calls
3
firePropertyChanged
Method · 0.95
setFont
Method · 0.65
equals
Method · 0.65
Tested by
5
ShaiForm
Method · 0.76
ShaiForm
Method · 0.76
testCreateCopiesStyleState
Method · 0.76
testSetPaddingAdjustsFontSize
Method · 0.76
testStyleParserMergesFontDefinitions
Method · 0.76