Package io.keikai.model.impl
Class RichTextImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractRichTextAdv
-
- io.keikai.model.impl.RichTextImpl
-
- All Implemented Interfaces:
SRichText
,Serializable
public class RichTextImpl extends AbstractRichTextAdv
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SRichText
SRichText.Segment
-
-
Constructor Summary
Constructors Constructor Description RichTextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSegment(String text, SFont font)
void
clearSegments()
AbstractRichTextAdv
clone()
SFont
getFont()
int
getHeightPoints()
List<SRichText.Segment>
getSegments()
String
getText()
-
-
-
Method Detail
-
getText
public String getText()
-
getSegments
public List<SRichText.Segment> getSegments()
-
clearSegments
public void clearSegments()
-
getFont
public SFont getFont()
-
clone
public AbstractRichTextAdv clone()
- Specified by:
clone
in classAbstractRichTextAdv
-
getHeightPoints
public int getHeightPoints()
-
-