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

Class CN

CodenameOne/src/com/codename1/ui/CN.java:55–2317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53///
54/// @author Shai Almog
55public class CN extends CN1Constants {
56 /// Constant for the name of the main thin native font.
57 public static final String NATIVE_MAIN_THIN = "native:MainThin";
58
59 /// Constant for the main light native font.
60 public static final String NATIVE_MAIN_LIGHT = "native:MainLight";
61
62 /// Constant for the main regular native font.
63 public static final String NATIVE_MAIN_REGULAR = "native:MainRegular";
64
65 /// Constant for the main bold native font.
66 public static final String NATIVE_MAIN_BOLD = "native:MainBold";
67
68 /// Constant for the main black native font.
69 public static final String NATIVE_MAIN_BLACK = "native:MainBlack";
70
71 /// Constant for the italic thin native font.
72 public static final String NATIVE_ITALIC_THIN = "native:ItalicThin";
73
74 /// Constant for the italic light native font.
75 public static final String NATIVE_ITALIC_LIGHT = "native:ItalicLight";
76
77 /// Constant for the italic regular native font.
78 public static final String NATIVE_ITALIC_REGULAR = "native:ItalicRegular";
79
80 /// Constant for the italic bold native font.
81 public static final String NATIVE_ITALIC_BOLD = "native:ItalicBold";
82
83 /// Constant for the italic black native font.
84 public static final String NATIVE_ITALIC_BLACK = "native:ItalicBlack";
85
86 /// Constant allowing us to author portable system fonts
87 public static final int FACE_MONOSPACE = 32;
88
89 /// Constant allowing us to author portable system fonts
90 public static final int FACE_PROPORTIONAL = 64;
91
92 /// Constant allowing us to author portable system fonts
93 public static final int FACE_SYSTEM = 0;
94
95 /// Constant allowing us to author portable system fonts
96 public static final int SIZE_LARGE = 16;
97
98 /// Constant allowing us to author portable system fonts
99 public static final int SIZE_MEDIUM = 0;
100
101 /// Constant allowing us to author portable system fonts
102 public static final int SIZE_SMALL = 8;
103
104 /// Constant allowing us to author portable system fonts
105 public static final int STYLE_BOLD = 1;
106
107 /// Constant allowing us to author portable system fonts
108 public static final int STYLE_ITALIC = 2;
109
110 /// Constant allowing us to author portable system fonts
111 public static final int STYLE_UNDERLINED = 4;
112

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected