public static class PositionImpl.PositionPropertyBuilderImpl extends PositionImpl implements Position.PositionPropertyBuilder
PositionImpl.PositionPropertyBuilderImplPosition.PositionBuilder<B extends Position.PositionBuilder<B>>, Position.PositionMutator, Position.PositionProperty, Position.PositionPropertyBuilderPosXAccessor.PosXBuilder<B extends PosXAccessor.PosXBuilder<B>>, PosXAccessor.PosXMutator, PosXAccessor.PosXPropertyPosYAccessor.PosYBuilder<B extends PosYAccessor.PosYBuilder<B>>, PosYAccessor.PosYMutator, PosYAccessor.PosYProperty_posX, _posY| Constructor and Description |
|---|
PositionPropertyBuilderImpl()
Instantiates a new position property builder impl.
|
PositionPropertyBuilderImpl(int aPosX,
int aPosY)
Instantiates a new position property builder impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setPosition(int aPosX,
int aPosY)
Sets the position.
|
void |
setPosition(Position aPosition)
Sets the position.
|
void |
setPositionX(int aPosX)
Sets the X position for the X position property.
|
void |
setPositionY(int aPosY)
Sets the Y position for the Y position property.
|
PositionImpl.PositionPropertyBuilderImpl |
withPosition(int aPosX,
int aPosY)
With position.
|
PositionImpl.PositionPropertyBuilderImpl |
withPosition(Position aPosition)
With position.
|
PositionImpl.PositionPropertyBuilderImpl |
withPositionX(int aPosX)
Sets the X position for the X position property.
|
PositionImpl.PositionPropertyBuilderImpl |
withPositionY(int aPosY)
Sets the Y position for the Y position property.
|
getPositionX, getPositionY, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddTo, subFromgetPositionXgetPositionYpublic PositionPropertyBuilderImpl()
public PositionPropertyBuilderImpl(int aPosX,
int aPosY)
aPosX - the pos XaPosY - the pos Ypublic void setPositionX(int aPosX)
setPositionX in interface PosXAccessor.PosXMutatoraPosX - The X position to be stored by the X position property.public PositionImpl.PositionPropertyBuilderImpl withPositionX(int aPosX)
withPositionX in interface PosXAccessor.PosXBuilder<Position.PositionPropertyBuilder>aPosX - The X position to be stored by the X position property.public void setPositionY(int aPosY)
setPositionY in interface PosYAccessor.PosYMutatoraPosY - The Y position to be stored by the Y position property.public PositionImpl.PositionPropertyBuilderImpl withPositionY(int aPosY)
withPositionY in interface PosYAccessor.PosYBuilder<Position.PositionPropertyBuilder>aPosY - The Y position to be stored by the Y position property.public PositionImpl.PositionPropertyBuilderImpl withPosition(int aPosX, int aPosY)
withPosition in interface Position.PositionBuilder<Position.PositionPropertyBuilder>aPosX - the pos XaPosY - the pos Ypublic PositionImpl.PositionPropertyBuilderImpl withPosition(Position aPosition)
withPosition in interface Position.PositionBuilder<Position.PositionPropertyBuilder>aPosition - the positionpublic void setPosition(int aPosX,
int aPosY)
setPosition in interface Position.PositionMutatoraPosX - the pos XaPosY - the pos Ypublic void setPosition(Position aPosition)
setPosition in interface Position.PositionMutatoraPosition - the new positionCopyright © 2018. All rights reserved.