-
- All Superinterfaces:
PosXAccessor.PosXMutator
,PosYAccessor.PosYMutator
- All Known Subinterfaces:
Position.PositionBuilder<B>
,Position.PositionProperty
,Rectangle.RectangleBuilder<B>
,Rectangle.RectangleMutator
,Rectangle.RectangleProperty
- All Known Implementing Classes:
PositionPropertyBuilder
- Enclosing interface:
- Position
public static interface Position.PositionMutator extends PosXAccessor.PosXMutator, PosYAccessor.PosYMutator
The Interface PositionMutator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setPosition(int aPosX, int aPosY)
Sets the position.void
setPosition(Position aPosition)
Sets the position.-
Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXMutator
setPositionX
-
Methods inherited from interface org.refcodes.graphical.PosYAccessor.PosYMutator
setPositionY
-
-
-
-
Method Detail
-
setPosition
void setPosition(int aPosX, int aPosY)
Sets the position.- Parameters:
aPosX
- the pos XaPosY
- the pos Y
-
setPosition
void setPosition(Position aPosition)
Sets the position.- Parameters:
aPosition
- the new position
-
-