public class ReadOnlyRichTextImpl extends AbstractRichTextAdv
SRichText.Segment
Constructor and Description |
---|
ReadOnlyRichTextImpl(SRichText richText) |
ReadOnlyRichTextImpl(String text,
SFont font) |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(String text,
SFont font) |
void |
clearSegments() |
AbstractRichTextAdv |
clone() |
SFont |
getFont() |
int |
getHeightPoints() |
List<SRichText.Segment> |
getSegments() |
String |
getText() |
public ReadOnlyRichTextImpl(SRichText richText)
public String getText()
public SFont getFont()
public List<SRichText.Segment> getSegments()
public void clearSegments()
public AbstractRichTextAdv clone()
clone
in class AbstractRichTextAdv
public int getHeightPoints()
Copyright © 2020. All rights reserved.