Package io.keikai.model
Interface SFont
-
- All Known Implementing Classes:
AbstractFontAdv,FontImpl,ImmutableFontImpl
public interface SFontRepresents a font used in cells.- Since:
- 3.5.0
- Author:
- dennis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSFont.Boldweightstatic classSFont.TypeOffsetstatic classSFont.Underline
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcopyFrom(SFont src)Deprecated.SFont.BoldweightgetBoldweight()SColorgetColor()intgetHeightPoints()StringgetName()SFont.TypeOffsetgetTypeOffset()SFont.UnderlinegetUnderline()booleanisItalic()booleanisStrikeout()voidsetBoldweight(SFont.Boldweight fontBoldweight)Deprecated.voidsetColor(SColor fontColor)Deprecated.voidsetHeightPoints(int fontHeightPoint)Deprecated.voidsetItalic(boolean fontItalic)Deprecated.voidsetName(String fontName)Deprecated.voidsetStrikeout(boolean fontStrikeout)Deprecated.voidsetTypeOffset(SFont.TypeOffset fontTypeOffset)Deprecated.voidsetUnderline(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.
-
-