Module org.refcodes.mixin
Package org.refcodes.mixin
Interface MaxConsoleWidthAccessor.MaxConsoleWidthProperty
- All Superinterfaces:
MaxConsoleWidthAccessor
,MaxConsoleWidthAccessor.MaxConsoleWidthMutator
- Enclosing interface:
- MaxConsoleWidthAccessor
public static interface MaxConsoleWidthAccessor.MaxConsoleWidthProperty
extends MaxConsoleWidthAccessor, MaxConsoleWidthAccessor.MaxConsoleWidthMutator
Provides a max console width property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.MaxConsoleWidthAccessor
MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<B extends MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<B>>, MaxConsoleWidthAccessor.MaxConsoleWidthMutator, MaxConsoleWidthAccessor.MaxConsoleWidthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letMaxConsoleWidth
(int aMaxConsoleWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given width (setter) as ofMaxConsoleWidthAccessor.MaxConsoleWidthMutator.setMaxConsoleWidth(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.MaxConsoleWidthAccessor
getMaxConsoleWidth
Methods inherited from interface org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthMutator
setMaxConsoleWidth
-
Method Details
-
letMaxConsoleWidth
default int letMaxConsoleWidth(int aMaxConsoleWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given width (setter) as ofMaxConsoleWidthAccessor.MaxConsoleWidthMutator.setMaxConsoleWidth(int)
and returns the very same value (getter).- Parameters:
aMaxConsoleWidth
- The width to set (viaMaxConsoleWidthAccessor.MaxConsoleWidthMutator.setMaxConsoleWidth(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-