public class PositionImpl extends Object implements Position
Modifier and Type | Class and Description |
---|---|
static class |
PositionImpl.PositionPropertyBuilderImpl
The Class PositionPropertyBuilderImpl.
|
Position.PositionBuilder<B extends Position.PositionBuilder<B>>, Position.PositionMutator, Position.PositionProperty, Position.PositionPropertyBuilder
PosXAccessor.PosXBuilder<B extends PosXAccessor.PosXBuilder<B>>, PosXAccessor.PosXMutator, PosXAccessor.PosXProperty
PosYAccessor.PosYBuilder<B extends PosYAccessor.PosYBuilder<B>>, PosYAccessor.PosYMutator, PosYAccessor.PosYProperty
Modifier and Type | Field and Description |
---|---|
protected int |
_posX |
protected int |
_posY |
Modifier | Constructor and Description |
---|---|
protected |
PositionImpl()
Instantiates a new position impl.
|
|
PositionImpl(int aPosX,
int aPosY)
Instantiates a new position impl.
|
Modifier and Type | Method and Description |
---|---|
int |
getPositionX()
Retrieves the X position from the X position property.
|
int |
getPositionY()
Retrieves the Y position from the Y position property.
|
String |
toString() |
protected PositionImpl()
public PositionImpl(int aPosX, int aPosY)
aPosX
- the a pos XaPosY
- the a pos Ypublic int getPositionX()
getPositionX
in interface PosXAccessor
public int getPositionY()
getPositionY
in interface PosYAccessor
Copyright © 2018. All rights reserved.