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(java.lang.String text, SFont font)voidclearSegments()SFontgetFont()intgetHeightPoints()java.util.List<SRichText.Segment>getSegments()java.lang.StringgetText()
-
-
-
Method Detail
-
getText
java.lang.String getText()
-
getFont
SFont getFont()
-
getSegments
java.util.List<SRichText.Segment> getSegments()
-
addSegment
void addSegment(java.lang.String text, SFont font)
-
clearSegments
void clearSegments()
-
getHeightPoints
int getHeightPoints()
-
-