Class StyledString.Styler

  • Enclosing class:
    StyledString

    public abstract static class StyledString.Styler
    extends Object
    A styler will be asked to apply its styles to one ore more ranges in the StyledString.
    • Constructor Detail

      • Styler

        public Styler()
    • Method Detail

      • applyStyles

        public abstract void applyStyles​(TextStyle textStyle)
        Applies the styles represented by this object to the given textStyle.
        Parameters:
        textStyle - the TextStyle to modify