-
- All Superinterfaces:
TextAccessor
,TextAccessor.TextMutator
- Enclosing interface:
- TextAccessor
public static interface TextAccessor.TextProperty extends TextAccessor, TextAccessor.TextMutator
Provides a text property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.TextAccessor
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
letText(String aText)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofTextAccessor.TextMutator.setText(String)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.TextAccessor
getText
-
Methods inherited from interface org.refcodes.mixin.TextAccessor.TextMutator
setText
-
-
-
-
Method Detail
-
letText
default String letText(String aText)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofTextAccessor.TextMutator.setText(String)
and returns the very same value (getter).- Parameters:
aText
- TheString
to set (viaTextAccessor.TextMutator.setText(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-