Package io.keikai.model
Interface SFont
-
- All Known Implementing Classes:
AbstractFontAdv
,FontImpl
,ImmutableFontImpl
public interface SFont
Represents a font used in cells.- Since:
- 3.5.0
- Author:
- dennis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SFont.Boldweight
static class
SFont.TypeOffset
static class
SFont.Underline
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
copyFrom(SFont src)
Deprecated.SFont.Boldweight
getBoldweight()
SColor
getColor()
int
getHeightPoints()
String
getName()
SFont.TypeOffset
getTypeOffset()
SFont.Underline
getUnderline()
boolean
isItalic()
boolean
isStrikeout()
void
setBoldweight(SFont.Boldweight fontBoldweight)
Deprecated.void
setColor(SColor fontColor)
Deprecated.void
setHeightPoints(int fontHeightPoint)
Deprecated.void
setItalic(boolean fontItalic)
Deprecated.void
setName(String fontName)
Deprecated.void
setStrikeout(boolean fontStrikeout)
Deprecated.void
setTypeOffset(SFont.TypeOffset fontTypeOffset)
Deprecated.void
setUnderline(SFont.Underline fontUnderline)
Deprecated.
-
-
-
Method Detail
-
getColor
SColor getColor()
- Returns:
- a font's color
-
getName
String getName()
- Returns:
- a font's name like "Calibri".
-
getBoldweight
SFont.Boldweight getBoldweight()
- Returns:
- a font's bold style.
-
getHeightPoints
int getHeightPoints()
- Returns:
- a font height point
-
isItalic
boolean isItalic()
- Returns:
- true if the font is italic
-
isStrikeout
boolean isStrikeout()
- Returns:
- true if the font is strike-out.
-
getTypeOffset
SFont.TypeOffset getTypeOffset()
- Returns:
-
getUnderline
SFont.Underline getUnderline()
- Returns:
- the style of a font's underline
-
setName
@Deprecated void setName(String fontName)
Deprecated.
-
setColor
@Deprecated void setColor(SColor fontColor)
Deprecated.
-
setBoldweight
@Deprecated void setBoldweight(SFont.Boldweight fontBoldweight)
Deprecated.
-
setHeightPoints
@Deprecated void setHeightPoints(int fontHeightPoint)
Deprecated.
-
setItalic
@Deprecated void setItalic(boolean fontItalic)
Deprecated.
-
setStrikeout
@Deprecated void setStrikeout(boolean fontStrikeout)
Deprecated.
-
setTypeOffset
@Deprecated void setTypeOffset(SFont.TypeOffset fontTypeOffset)
Deprecated.
-
setUnderline
@Deprecated void setUnderline(SFont.Underline fontUnderline)
Deprecated.
-
copyFrom
@Deprecated void copyFrom(SFont src)
Deprecated.
-
-