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

Method Style

CodenameOne/src/com/codename1/ui/plaf/Style.java:323–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321 /// When a Component is generated it construct a default Style Object.
322 /// The Default values for each Component can be changed by using the UIManager class
323 public Style() {
324 setPadding(3, 3, 3, 3);
325 setMargin(2, 2, 2, 2);
326 modifiedFlag = 0;
327 }
328
329 /// Creates a full copy of the given style. Notice that if the original style was modified
330 /// manually (by invoking setters on it) it would not chnage when changing a theme/look and feel,

Callers

nothing calls this directly

Calls 13

setPaddingMethod · 0.95
setMarginMethod · 0.95
setPaddingUnitMethod · 0.95
setMarginUnitMethod · 0.95
setBorderMethod · 0.95
arraycopyMethod · 0.95
getFontMethod · 0.65
copyMethod · 0.65
getFgColorMethod · 0.45
getBgColorMethod · 0.45
getBgTransparencyMethod · 0.45
getBgImageMethod · 0.45

Tested by

no test coverage detected