Module io.github.mmm.ui.api.core
Package io.github.mmm.ui.api.attribute
Interface AttributeWritePosition
- All Superinterfaces:
AttributeReadPosition
- All Known Subinterfaces:
AttributeWritePositionRange
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
setPosition
(double x, double y) This method sets the position of the widget.void
setX
(double x) void
setY
(double y) Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadPosition
getX, getY
-
Method Details
-
setX
void setX(double x) - Parameters:
x
- the newposition on the x-axis
.
-
setY
void setY(double y) - Parameters:
y
- the newposition on the y-axis
.
-
setPosition
default void setPosition(double x, double y) This method sets the position of the widget.- Parameters:
x
- the newposition on the x-axis
.y
- the newposition on the y-axis
.
-