- Type Parameters:
T
- The type of the style.
- All Superinterfaces:
StyleAccessor<T>
,StyleAccessor.StyleMutator<T>
- Enclosing interface:
- StyleAccessor<T>
public static interface StyleAccessor.StyleProperty<T>
extends StyleAccessor<T>, StyleAccessor.StyleMutator<T>
Provides a style property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.StyleAccessor
StyleAccessor.StyleBuilder<T,
B extends StyleAccessor.StyleBuilder<T, B>>, StyleAccessor.StyleMutator<T>, StyleAccessor.StyleProperty<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault T
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value(setter) as ofStyleAccessor.StyleMutator.setStyle(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.StyleAccessor
getStyle
Methods inherited from interface org.refcodes.mixin.StyleAccessor.StyleMutator
setStyle
-
Method Details
-
letStyle
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value(setter) as ofStyleAccessor.StyleMutator.setStyle(Object)
and returns the very same value (getter).- Parameters:
aStyle
- The valueto set (viaStyleAccessor.StyleMutator.setStyle(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-