Module org.refcodes.graphical
Package org.refcodes.graphical
Interface HeightAccessor.HeightProperty
-
- All Superinterfaces:
HeightAccessor
,HeightAccessor.HeightMutator
- All Known Subinterfaces:
Dimension.DimensionProperty
,PixmapImageBuilder<PX>
,Rectangle.RectangleProperty
- All Known Implementing Classes:
RgbPixmapImageBuilder
- Enclosing interface:
- HeightAccessor
public static interface HeightAccessor.HeightProperty extends HeightAccessor, HeightAccessor.HeightMutator
Provides a height property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.HeightAccessor
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letHeight(int aHeight)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofHeightAccessor.HeightMutator.setHeight(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.graphical.HeightAccessor
getHeight
-
Methods inherited from interface org.refcodes.graphical.HeightAccessor.HeightMutator
setHeight
-
-
-
-
Method Detail
-
letHeight
default int letHeight(int aHeight)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofHeightAccessor.HeightMutator.setHeight(int)
and returns the very same value (getter).- Parameters:
aHeight
- The integer to set (viaHeightAccessor.HeightMutator.setHeight(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-