- All Superinterfaces:
WidthAccessor
,WidthAccessor.WidthMutator
- All Known Subinterfaces:
Dimension.DimensionProperty
,PixmapImageBuilder<PX>
,Rectangle.RectangleProperty
- All Known Implementing Classes:
RgbPixmapImageBuilder
- Enclosing interface:
- WidthAccessor
public static interface WidthAccessor.WidthProperty
extends WidthAccessor, WidthAccessor.WidthMutator
Provides a width property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.graphical.WidthAccessor
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letWidth
(int aWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofWidthAccessor.WidthMutator.setWidth(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.graphical.WidthAccessor
getWidth
Methods inherited from interface org.refcodes.graphical.WidthAccessor.WidthMutator
setWidth
-
Method Details
-
letWidth
default int letWidth(int aWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofWidthAccessor.WidthMutator.setWidth(int)
and returns the very same value (getter).- Parameters:
aWidth
- The integer to set (viaWidthAccessor.WidthMutator.setWidth(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-