- 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
Modifier and TypeMethodDescriptionvoidsetPosition(int aPosX, int aPosY) Sets the position.voidsetPosition(Position aPosition) Sets the position.Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXMutator
setPositionXMethods inherited from interface org.refcodes.graphical.PosYAccessor.PosYMutator
setPositionY
-
Method Details
-
setPosition
void setPosition(int aPosX, int aPosY) Sets the position.- Parameters:
aPosX- the pos XaPosY- the pos Y
-
setPosition
Sets the position.- Parameters:
aPosition- the new position
-