Package io.keikai.model.impl
Class ReadOnlyRichTextImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractRichTextAdv
-
- io.keikai.model.impl.ReadOnlyRichTextImpl
-
- All Implemented Interfaces:
SRichText
,Serializable
public class ReadOnlyRichTextImpl 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 ReadOnlyRichTextImpl(SRichText richText)
ReadOnlyRichTextImpl(String text, SFont font)
-
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()
-
getFont
public SFont getFont()
-
getSegments
public List<SRichText.Segment> getSegments()
-
clearSegments
public void clearSegments()
-
clone
public AbstractRichTextAdv clone()
- Specified by:
clone
in classAbstractRichTextAdv
-
getHeightPoints
public int getHeightPoints()
-
-