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

Method setBorder

CodenameOne/src/com/codename1/ui/plaf/Style.java:3048–3063  ·  view source on GitHub ↗
(Border border, boolean override)

Source from the content-addressed store, hash-verified

3046 /// - `override`: @param override If set to true allows the look and feel/theme to override
3047 /// the value in this attribute when changing a theme/look and feel
3048 public void setBorder(Border border, boolean override) {
3049 if (proxyTo != null) {
3050 for (Style s : proxyTo) {
3051 s.setBorder(border, override);
3052 }
3053 return;
3054 }
3055 if ((this.border == null && border != null) ||
3056 (this.border != null && !this.border.equals(border))) {
3057 this.border = border;
3058 if (!override) {
3059 modifiedFlag |= BORDER_MODIFIED;
3060 }
3061 firePropertyChanged(BORDER);
3062 }
3063 }
3064
3065 /// Returns the border for the style
3066 ///

Callers 15

removeCmpBackgroundMethod · 0.95
RenderableContainerMethod · 0.95
createCellImplMethod · 0.95
createStyleMethod · 0.95
StyleMethod · 0.95
mergeMethod · 0.95
stripMarginAndPaddingMethod · 0.95
addComponentsMethod · 0.95
runTestMethod · 0.95
runDemoMethod · 0.95
testCSSRegressionMethod · 0.95

Calls 2

firePropertyChangedMethod · 0.95
equalsMethod · 0.65

Tested by 10

runTestMethod · 0.76
testCSSRegressionMethod · 0.76
initComponentsMethod · 0.36
startMethod · 0.36
ImageFormMethod · 0.36
startMethod · 0.36
TestFormMethod · 0.36
TestFormMethod · 0.36
startMethod · 0.36