Interface TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>

Type Parameters:
B - The builder to return in order to be able to apply multiple build operations.
All Known Subinterfaces:
Text<B>
All Known Implementing Classes:
AsciiArtBuilder, EscapeTextBuilder, HorizAlignTextBuilder, MoreTextBuilder, OverwriteTextBuilder, ReplaceTextBuilder, SecretHintBuilder, TextBlockBuilder, TextBorderBuilder, TruncateTextBuilder, VertAlignTextBuilder
Enclosing interface:
TextAccessor

public static interface TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>
Provides a builder method for a text property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withText(String... aText)
    Sets the text for the text property.
    Sets the text for the text property.
  • Method Details

    • withText

      B withText(String... aText)
      Sets the text for the text property.
      Parameters:
      aText - The text to be stored by the text property.
      Returns:
      The builder for applying multiple build operations.
    • withText

      B withText(Collection<String> aText)
      Sets the text for the text property.
      Parameters:
      aText - The text to be stored by the text property.
      Returns:
      The builder for applying multiple build operations.