-
- All Superinterfaces:
PosXAccessor
,PosXAccessor.PosXMutator
- All Known Subinterfaces:
Position.PositionProperty
,Rectangle.RectangleProperty
- All Known Implementing Classes:
PositionPropertyBuilder
- Enclosing interface:
- PosXAccessor
public static interface PosXAccessor.PosXProperty extends PosXAccessor, PosXAccessor.PosXMutator
Provides a X position property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.PosXAccessor
PosXAccessor.PosXBuilder<B extends PosXAccessor.PosXBuilder<B>>, PosXAccessor.PosXMutator, PosXAccessor.PosXProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letPositionX(int aPosX)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPosXAccessor.PosXMutator.setPositionX(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.graphical.PosXAccessor
getPositionX
-
Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXMutator
setPositionX
-
-
-
-
Method Detail
-
letPositionX
default int letPositionX(int aPosX)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPosXAccessor.PosXMutator.setPositionX(int)
and returns the very same value (getter).- Parameters:
aPosX
- The integer to set (viaPosXAccessor.PosXMutator.setPositionX(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-