Package io.keikai.model
Interface SRichText
-
- All Known Implementing Classes:
AbstractRichTextAdv
,ReadOnlyRichTextImpl
,RichTextImpl
public interface SRichText
A rich text can have multiple segments which have different fonts for each one in a cell. However, note that the Segment might return a null Font if it wants to use the current cell's font. You can useRichTextHelper#getRichTextRealFont(SFont font, SCell cell)
to get the real font used by the Segment.- Since:
- 3.5.0
- Author:
- dennis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SRichText.Segment
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSegment(String text, SFont font)
void
clearSegments()
SFont
getFont()
int
getHeightPoints()
List<SRichText.Segment>
getSegments()
String
getText()
-