- All Superinterfaces:
PosXAccessor
,PosXAccessor.PosXMutator
- All Known Subinterfaces:
Position.PositionProperty
,Rectangle.RectangleProperty
- All Known Implementing Classes:
PositionPropertyBuilder
- Enclosing interface:
- PosXAccessor
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
Modifier and TypeMethodDescriptiondefault 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 Details
-
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.
-