Package io.keikai.model.impl
Class FontImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractFontAdv
-
- io.keikai.model.impl.FontImpl
-
- All Implemented Interfaces:
SFont
,Serializable
@Deprecated public class FontImpl extends AbstractFontAdv
Deprecated.As if release 5.3.0, replaced byImmutableFontImpl
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SFont
SFont.Boldweight, SFont.TypeOffset, SFont.Underline
-
-
Field Summary
Fields Modifier and Type Field Description static SFont
BLANK_FONT
Deprecated.static String
FORMAT_GENERAL
Deprecated.
-
Constructor Summary
Constructors Constructor Description FontImpl()
Deprecated.FontImpl(String fontColor, boolean bold, boolean fontItalic, boolean fontStrikeout, SFont.Underline fontUnderline)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
copyFrom(SFont src)
Deprecated.boolean
equals(Object other)
Deprecated.SFont.Boldweight
getBoldweight()
Deprecated.SColor
getColor()
Deprecated.int
getHeightPoints()
Deprecated.String
getName()
Deprecated.SFont.TypeOffset
getTypeOffset()
Deprecated.SFont.Underline
getUnderline()
Deprecated.int
hashCode()
Deprecated.boolean
isItalic()
Deprecated.boolean
isOverrideBold()
Deprecated.boolean
isOverrideColor()
Deprecated.boolean
isOverrideHeightPoints()
Deprecated.boolean
isOverrideItalic()
Deprecated.boolean
isOverrideName()
Deprecated.boolean
isOverrideStrikeout()
Deprecated.boolean
isOverrideTypeOffset()
Deprecated.boolean
isOverrideUnderline()
Deprecated.boolean
isStrikeout()
Deprecated.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
setOverrideBold(boolean overrideBold)
Deprecated.void
setOverrideColor(boolean overrideColor)
Deprecated.void
setOverrideHeightPoints(boolean overrideHeightPoints)
Deprecated.void
setOverrideItalic(boolean overrideItalic)
Deprecated.void
setOverrideName(boolean overrideName)
Deprecated.void
setOverrideStrikeout(boolean overrideStrikeout)
Deprecated.void
setOverrideTypeOffset(boolean overrideTypeOffset)
Deprecated.void
setOverrideUnderline(boolean overrideUnderline)
Deprecated.void
setStrikeout(boolean fontStrikeout)
Deprecated.void
setTypeOffset(SFont.TypeOffset fontTypeOffset)
Deprecated.void
setUnderline(SFont.Underline fontUnderline)
Deprecated.
-
-
-
Field Detail
-
FORMAT_GENERAL
public static final String FORMAT_GENERAL
Deprecated.- See Also:
- Constant Field Values
-
BLANK_FONT
public static final SFont BLANK_FONT
Deprecated.
-
-
Constructor Detail
-
FontImpl
public FontImpl()
Deprecated.
-
FontImpl
public FontImpl(String fontColor, boolean bold, boolean fontItalic, boolean fontStrikeout, SFont.Underline fontUnderline)
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Returns:
- a font's name like "Calibri".
-
setName
public void setName(String fontName)
Deprecated.
-
getColor
public SColor getColor()
Deprecated.- Returns:
- a font's color
-
setColor
public void setColor(SColor fontColor)
Deprecated.
-
getBoldweight
public SFont.Boldweight getBoldweight()
Deprecated.- Returns:
- a font's bold style.
-
setBoldweight
public void setBoldweight(SFont.Boldweight fontBoldweight)
Deprecated.
-
getHeightPoints
public int getHeightPoints()
Deprecated.- Returns:
- a font height point
-
setHeightPoints
public void setHeightPoints(int fontHeightPoint)
Deprecated.
-
isItalic
public boolean isItalic()
Deprecated.- Returns:
- true if the font is italic
-
setItalic
public void setItalic(boolean fontItalic)
Deprecated.
-
isStrikeout
public boolean isStrikeout()
Deprecated.- Returns:
- true if the font is strike-out.
-
setStrikeout
public void setStrikeout(boolean fontStrikeout)
Deprecated.
-
getTypeOffset
public SFont.TypeOffset getTypeOffset()
Deprecated.- Returns:
-
setTypeOffset
public void setTypeOffset(SFont.TypeOffset fontTypeOffset)
Deprecated.
-
getUnderline
public SFont.Underline getUnderline()
Deprecated.- Returns:
- the style of a font's underline
-
setUnderline
public void setUnderline(SFont.Underline fontUnderline)
Deprecated.
-
copyFrom
public void copyFrom(SFont src)
Deprecated.
-
setOverrideName
public void setOverrideName(boolean overrideName)
Deprecated.- Specified by:
setOverrideName
in classAbstractFontAdv
-
setOverrideColor
public void setOverrideColor(boolean overrideColor)
Deprecated.- Specified by:
setOverrideColor
in classAbstractFontAdv
-
setOverrideBold
public void setOverrideBold(boolean overrideBold)
Deprecated.- Specified by:
setOverrideBold
in classAbstractFontAdv
-
setOverrideItalic
public void setOverrideItalic(boolean overrideItalic)
Deprecated.- Specified by:
setOverrideItalic
in classAbstractFontAdv
-
setOverrideStrikeout
public void setOverrideStrikeout(boolean overrideStrikeout)
Deprecated.- Specified by:
setOverrideStrikeout
in classAbstractFontAdv
-
setOverrideUnderline
public void setOverrideUnderline(boolean overrideUnderline)
Deprecated.- Specified by:
setOverrideUnderline
in classAbstractFontAdv
-
setOverrideHeightPoints
public void setOverrideHeightPoints(boolean overrideHeightPoints)
Deprecated.- Specified by:
setOverrideHeightPoints
in classAbstractFontAdv
-
setOverrideTypeOffset
public void setOverrideTypeOffset(boolean overrideTypeOffset)
Deprecated.- Specified by:
setOverrideTypeOffset
in classAbstractFontAdv
-
isOverrideName
public boolean isOverrideName()
Deprecated.- Specified by:
isOverrideName
in classAbstractFontAdv
-
isOverrideColor
public boolean isOverrideColor()
Deprecated.- Specified by:
isOverrideColor
in classAbstractFontAdv
-
isOverrideBold
public boolean isOverrideBold()
Deprecated.- Specified by:
isOverrideBold
in classAbstractFontAdv
-
isOverrideItalic
public boolean isOverrideItalic()
Deprecated.- Specified by:
isOverrideItalic
in classAbstractFontAdv
-
isOverrideStrikeout
public boolean isOverrideStrikeout()
Deprecated.- Specified by:
isOverrideStrikeout
in classAbstractFontAdv
-
isOverrideUnderline
public boolean isOverrideUnderline()
Deprecated.- Specified by:
isOverrideUnderline
in classAbstractFontAdv
-
isOverrideHeightPoints
public boolean isOverrideHeightPoints()
Deprecated.- Specified by:
isOverrideHeightPoints
in classAbstractFontAdv
-
isOverrideTypeOffset
public boolean isOverrideTypeOffset()
Deprecated.- Specified by:
isOverrideTypeOffset
in classAbstractFontAdv
-
-