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

Method setMargin

CodenameOne/src/com/codename1/ui/plaf/Style.java:1517–1519  ·  view source on GitHub ↗
(int top, int bottom, int left, int right)

Source from the content-addressed store, hash-verified

1515 ///
1516 /// - `right`: number of margin using the current unit
1517 public void setMargin(int top, int bottom, int left, int right) {
1518 setMargin((float) top, (float) bottom, (float) left, (float) right);
1519 }
1520
1521 /// Sets the Style Margin
1522 ///

Callers 15

resizeMethod · 0.95
showMethod · 0.95
showModalMethod · 0.95
growOrShrinkImplMethod · 0.95
runMethod · 0.95
setMarginMethod · 0.95
setMarginPercentMethod · 0.95
RenderableContainerMethod · 0.95
createCellImplMethod · 0.95
newLineMethod · 0.95
createStyleMethod · 0.95
StyleMethod · 0.95

Calls 1

firePropertyChangedMethod · 0.95

Tested by 15

prepareCaptureMethod · 0.76
prepareCaptureMethod · 0.76
makeHeaderMethod · 0.76
buildSourceFormMethod · 0.76
runTestMethod · 0.76
buildSourceFormMethod · 0.76
buildContainerMethod · 0.76
buildSourceFormMethod · 0.76
runTestMethod · 0.76
buildContainerMethod · 0.76
prepareCaptureMethod · 0.76
buildSourceFormMethod · 0.76