Package io.keikai.model.impl.sys
Class FormatResultImpl
- java.lang.Object
-
- io.keikai.model.impl.sys.FormatResultImpl
-
- All Implemented Interfaces:
FormatResult
,Serializable
public class FormatResultImpl extends Object implements FormatResult, Serializable
- Since:
- 3.5.0
- Author:
- Hawk
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormatResultImpl(SRichText richText)
FormatResultImpl(String text, SColor color)
FormatResultImpl(CellFormatResult result, Format formater, boolean dateFormatted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SColor
getColor()
Format
getFormater()
SRichText
getRichText()
String
getText()
boolean
isDateFormatted()
boolean
isRichText()
-
-
-
Constructor Detail
-
FormatResultImpl
public FormatResultImpl(SRichText richText)
-
FormatResultImpl
public FormatResultImpl(CellFormatResult result, Format formater, boolean dateFormatted)
-
-
Method Detail
-
getFormater
public Format getFormater()
- Specified by:
getFormater
in interfaceFormatResult
- Returns:
- the java format object if the result was done by it, return null if the result is not done by a java format object
-
getText
public String getText()
- Specified by:
getText
in interfaceFormatResult
-
getColor
public SColor getColor()
- Specified by:
getColor
in interfaceFormatResult
-
isRichText
public boolean isRichText()
- Specified by:
isRichText
in interfaceFormatResult
- Returns:
- true if the result contains rich format, contains font and color
-
getRichText
public SRichText getRichText()
- Specified by:
getRichText
in interfaceFormatResult
-
isDateFormatted
public boolean isDateFormatted()
- Specified by:
isDateFormatted
in interfaceFormatResult
- Returns:
- true if the result is data formatted
-
-