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

Method setY

CodenameOne/src/com/codename1/ui/Component.java:1134–1139  ·  view source on GitHub ↗
(int y)

Source from the content-addressed store, hash-verified

1132 ///
1133 /// - `y`: the current y coordinate of the components origin
1134 public void setY(int y) {
1135 bounds.setY(y);
1136 if (Form.activePeerCount > 0) {
1137 onParentPositionChange();
1138 }
1139 }
1140
1141 /// Gets the Y-coordinate of the outer bounds of this component. The outer bounds are formed
1142 /// by the bound of the margin of the component. i.e. `y - leftMargin`.

Callers 15

pointerReleasedImplMethod · 0.95
animateMethod · 0.95
layoutContainerMethod · 0.95
actionPerformedMethod · 0.95
animateHierarchyMethod · 0.95
animateLayoutMethod · 0.95
updateStateMethod · 0.95
paintInternalMethod · 0.95
paintLockMethod · 0.95
layoutContainerMethod · 0.95
layoutContainerMethod · 0.95

Calls 1

Tested by 2

startAnimationMethod · 0.76
testCSSBorderMethod · 0.76