Class StyledString.Styler

  • Enclosing class:
    StyledString

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

      Constructors 
      Constructor Description
      Styler()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void applyStyles​(TextStyle textStyle)
      Applies the styles represented by this object to the given textStyle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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