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 use
RichTextHelper#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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSegment(String text, SFont font) voidgetFont()intgetText()
-
Method Details
-
getText
String getText() -
getFont
SFont getFont() -
getSegments
List<SRichText.Segment> getSegments() -
addSegment
-
clearSegments
void clearSegments() -
getHeightPoints
int getHeightPoints()
-