Package io.keikai.model
Interface SRichText
-
- All Known Implementing Classes:
AbstractRichTextAdv,ReadOnlyRichTextImpl,RichTextImpl
public interface SRichTextA 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 interfaceSRichText.Segment
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSegment(String text, SFont font)voidclearSegments()SFontgetFont()intgetHeightPoints()List<SRichText.Segment>getSegments()StringgetText()
-