Interface TruncateTextBuilder

    • Method Detail

      • getTruncateTextMode

        TruncateTextMode getTruncateTextMode​()
        Retrieves the truncate text mode from the truncate text mode property.
        Returns:
        The truncate text mode stored by the truncate text mode property.
      • setTruncateTextMode

        void setTruncateTextMode​(TruncateTextMode aTruncateTextMode)
        Sets the truncate text mode for the truncate text mode property.
        Parameters:
        aTruncateTextMode - The truncate text mode to be stored by the truncate text mode property.
      • withTruncateTextMode

        default TruncateTextBuilder withTruncateTextMode​(TruncateTextMode aTruncateTextMode)
        Sets the truncate text mode for the truncate text mode property.
        Parameters:
        aTruncateTextMode - The truncate text mode to be stored by the truncate text mode property.
        Returns:
        The builder for applying multiple build operations.
      • getTruncateChars

        char[] getTruncateChars​()
        Retrieves the truncate chars from the truncate chars property.
        Returns:
        The truncate chars stored by the truncate chars property.
      • setTruncateChars

        void setTruncateChars​(char... aTruncateChars)
        Sets the truncate chars for the truncate chars property.
        Parameters:
        aTruncateChars - The truncate chars to be stored by the text align mode property.
      • withStripChars

        default TruncateTextBuilder withStripChars​(char... aStripChars)
        Sets the truncate chars for the truncate chars property.
        Parameters:
        aStripChars - The truncate chars to be stored by the text align mode property.
        Returns:
        The builder for applying multiple build operations.
      • toStrings

        java.lang.String[] toStrings​()
        The Strings being build by the builder upon the settings of the attributes.
        Specified by:
        toStrings in interface TextAccessor.TextProvider
        Returns:
        The according resulting String array
      • toString

        java.lang.String toString​()
                           throws java.lang.IllegalStateException
        The String being build by the builder upon the settings of the attributes.
        Specified by:
        toString in interface TextAccessor.TextProvider
        Overrides:
        toString in class java.lang.Object
        Returns:
        The according resulting String
        Throws:
        java.lang.IllegalStateException - Thrown in case more than one text line has been set via the withText(String...) or TextAccessor.TextMutator.setText(String...) methods.