Class FormattedStringElement


  • public class FormattedStringElement
    extends AbstractFormattedStringElement
    This is the main element for FormattedStrings. It consists of a plain String value, to which an arbitrary number of formatting flags can be applied.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • FormattedStringElement

        public FormattedStringElement​(java.lang.String aText)
        Creates a new instance.
        Parameters:
        aText - the string value
      • FormattedStringElement

        public FormattedStringElement​(java.lang.String aText,
                                      FormattedStringElement.FormatFlag... someFlags)
        Creates a new instance.
        Parameters:
        aText - the string value
        someFlags - the formatting flags to apply