public interface Text<B extends Text<B>> extends TextAccessor.TextProperty, TextAccessor.TextBuilder<Text<B>>
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty
Modifier and Type | Method and Description |
---|---|
String |
toString()
The
String being build by the builder upon the settings of the
attributes. |
String |
toString(String... aText)
Race condition safe shortcut for using
withText(String...) |
String[] |
toStrings()
The
String s being build by the builder upon the settings of the
attributes. |
String[] |
toStrings(String... aText)
Race condition safe shortcut for using
withText(String...) |
default B |
withText(String... aText)
Sets the text for the text property.
|
getText
setText, setText
withText
default B withText(String... aText)
TextAccessor.TextBuilder
String[] toStrings()
String
s being build by the builder upon the settings of the
attributes.String
arrayString toString()
String
being build by the builder upon the settings of the
attributes. In case more then one line has been set as input and the
functionality of the builder is applied to each line in separate, then
this method returns all of them lines concatenated with a line break
between each of them (implementation depended).String[] toStrings(String... aText)
withText(String...)
followed by toStrings()
.
Implementation requirements: This method must not(!) be implemented by
calling withText(String...)
followed by toStrings()
(do
not change the text property) as this would not be thread safe!aText
- The text to be processed.String
arrayString toString(String... aText)
withText(String...)
followed by toString()
.
Implementation requirements: This method must not(!) be implemented by
calling withText(String...)
followed by toString()
(do
not change the text property) as this would not be thread safe!aText
- The text to be processed.String
Copyright © 2016. All rights reserved.