public class RichTextImpl extends Object implements RichText, Serializable
RichText.Segment
Constructor and Description |
---|
RichTextImpl(Book book) |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(String text,
Font font) |
void |
clearSegments() |
Font |
getFont() |
SRichText |
getNative() |
List<RichText.Segment> |
getSegments() |
String |
getText() |
public RichTextImpl(Book book)
public SRichText getNative()
public List<RichText.Segment> getSegments()
getSegments
in interface RichText
public void addSegment(String text, Font font)
addSegment
in interface RichText
public void clearSegments()
clearSegments
in interface RichText
Copyright © 2020. All rights reserved.