Class DefaultFontSpecification
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.text.DefaultFontSpecification
-
- All Implemented Interfaces:
FontSpecification
public class DefaultFontSpecification extends Object implements FontSpecification
Creation-Date: 04.04.2007, 14:03:19- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description DefaultFontSpecification()
DefaultFontSpecification(String fontFamily, double fontSize, int fontWeight, boolean italic, boolean oblique, boolean smallCaps, boolean antiAliasing, String encoding, boolean embedFontData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncoding()
String
getFontFamily()
double
getFontSize()
int
getFontWeight()
boolean
isAntiAliasing()
boolean
isEmbedFontData()
boolean
isItalic()
boolean
isOblique()
boolean
isSmallCaps()
void
setAntiAliasing(boolean antiAliasing)
void
setEmbedFontData(boolean embedFontData)
void
setEncoding(String encoding)
void
setFontFamily(String fontFamily)
void
setFontSize(double fontSize)
void
setFontWeight(int fontWeight)
void
setItalic(boolean italic)
void
setOblique(boolean oblique)
void
setSmallCaps(boolean smallCaps)
-
-
-
Method Detail
-
getFontFamily
public String getFontFamily()
- Specified by:
getFontFamily
in interfaceFontSpecification
-
setFontFamily
public void setFontFamily(String fontFamily)
-
isAntiAliasing
public boolean isAntiAliasing()
- Specified by:
isAntiAliasing
in interfaceFontSpecification
-
setAntiAliasing
public void setAntiAliasing(boolean antiAliasing)
-
isSmallCaps
public boolean isSmallCaps()
- Specified by:
isSmallCaps
in interfaceFontSpecification
-
setSmallCaps
public void setSmallCaps(boolean smallCaps)
-
isItalic
public boolean isItalic()
- Specified by:
isItalic
in interfaceFontSpecification
-
setItalic
public void setItalic(boolean italic)
-
isOblique
public boolean isOblique()
- Specified by:
isOblique
in interfaceFontSpecification
-
setOblique
public void setOblique(boolean oblique)
-
getFontWeight
public int getFontWeight()
- Specified by:
getFontWeight
in interfaceFontSpecification
-
setFontWeight
public void setFontWeight(int fontWeight)
-
getFontSize
public double getFontSize()
- Specified by:
getFontSize
in interfaceFontSpecification
-
setFontSize
public void setFontSize(double fontSize)
-
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interfaceFontSpecification
-
setEncoding
public void setEncoding(String encoding)
-
isEmbedFontData
public boolean isEmbedFontData()
- Specified by:
isEmbedFontData
in interfaceFontSpecification
-
setEmbedFontData
public void setEmbedFontData(boolean embedFontData)
-
-