- All Superinterfaces:
TextAccessor
,TextAccessor.TextMutator
- All Known Subinterfaces:
Text<B>
- All Known Implementing Classes:
AsciiArtBuilder
,EscapeTextBuilder
,HorizAlignTextBuilder
,MoreTextBuilder
,OverwriteTextBuilder
,ReplaceTextBuilder
,SecretHintBuilder
,TextBlockBuilder
,TextBorderBuilder
,TruncateTextBuilder
,VertAlignTextBuilder
- Enclosing interface:
- TextAccessor
Provides a text property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.textual.TextAccessor
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty, TextAccessor.TextProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault String[]
This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
array (setter) as ofTextAccessor.TextMutator.setText(String[])
and returns the very same value (getter).default Collection<String>
letText
(Collection<String> aText) This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
elements (setter) as ofTextAccessor.TextMutator.setText(Collection)
and returns the very same value (getter).Methods inherited from interface org.refcodes.textual.TextAccessor
getText
Methods inherited from interface org.refcodes.textual.TextAccessor.TextMutator
setText, setText
-
Method Details
-
letText
This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
array (setter) as ofTextAccessor.TextMutator.setText(String[])
and returns the very same value (getter).- Parameters:
aText
- TheString
array to set (viaTextAccessor.TextMutator.setText(String[])
).- Returns:
- Returns the values passed for it to be used in conclusive processing steps.
-
letText
This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
elements (setter) as ofTextAccessor.TextMutator.setText(Collection)
and returns the very same value (getter).- Parameters:
aText
- TheString
elements to set (viaTextAccessor.TextMutator.setText(Collection)
).- Returns:
- Returns the values passed for it to be used in conclusive processing steps.
-