Class SimpleFontFamily
- java.lang.Object
-
- net.sf.jasperreports.engine.fonts.SimpleFontFamily
-
- All Implemented Interfaces:
Cloneable
,FontFamily
,JRCloneable
public class SimpleFontFamily extends Object implements FontFamily, JRCloneable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SimpleFontFamily()
SimpleFontFamily(JasperReportsContext jasperReportsContext)
-
Method Summary
-
-
-
Constructor Detail
-
SimpleFontFamily
public SimpleFontFamily()
- See Also:
SimpleFontFamily(JasperReportsContext)
-
SimpleFontFamily
public SimpleFontFamily(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getName
public String getName()
- Specified by:
getName
in interfaceFontFamily
-
setName
public void setName(String name)
-
setNormal
public void setNormal(String normal)
Deprecated.Replaced bysetNormalFace(SimpleFontFace)
.
-
setBold
public void setBold(String bold)
Deprecated.Replaced bysetBoldFace(SimpleFontFace)
.
-
setItalic
public void setItalic(String italic)
Deprecated.Replaced bysetItalicFace(SimpleFontFace)
.
-
setBoldItalic
public void setBoldItalic(String boldItalic)
Deprecated.Replaced bysetBoldItalicFace(SimpleFontFace)
.
-
getNormalFace
public FontFace getNormalFace()
- Specified by:
getNormalFace
in interfaceFontFamily
-
setNormalFace
public void setNormalFace(SimpleFontFace normalFace)
-
getBoldFace
public FontFace getBoldFace()
- Specified by:
getBoldFace
in interfaceFontFamily
-
setBoldFace
public void setBoldFace(SimpleFontFace boldFace)
-
getItalicFace
public FontFace getItalicFace()
- Specified by:
getItalicFace
in interfaceFontFamily
-
setItalicFace
public void setItalicFace(SimpleFontFace italicFace)
-
getBoldItalicFace
public FontFace getBoldItalicFace()
- Specified by:
getBoldItalicFace
in interfaceFontFamily
-
setBoldItalicFace
public void setBoldItalicFace(SimpleFontFace boldItalicFace)
-
setNormalPdfFont
public void setNormalPdfFont(String normalPdfFont)
Deprecated.Replaced bySimpleFontFace.setPdf(String)
.
-
setBoldPdfFont
public void setBoldPdfFont(String boldPdfFont)
Deprecated.Replaced bySimpleFontFace.setPdf(String)
.
-
setItalicPdfFont
public void setItalicPdfFont(String italicPdfFont)
Deprecated.Replaced bySimpleFontFace.setPdf(String)
.
-
setBoldItalicPdfFont
public void setBoldItalicPdfFont(String boldItalicPdfFont)
Deprecated.Replaced bySimpleFontFace.setPdf(String)
.
-
getPdfEncoding
public String getPdfEncoding()
- Specified by:
getPdfEncoding
in interfaceFontFamily
-
setPdfEncoding
public void setPdfEncoding(String pdfEncoding)
-
isPdfEmbedded
public Boolean isPdfEmbedded()
- Specified by:
isPdfEmbedded
in interfaceFontFamily
-
setPdfEmbedded
public void setPdfEmbedded(Boolean isPdfEmbedded)
-
getDefaultExportFont
public String getDefaultExportFont()
-
setDefaultExportFont
public void setDefaultExportFont(String defaultExportFont)
-
getExportFont
public String getExportFont(String key)
- Specified by:
getExportFont
in interfaceFontFamily
-
supportsLocale
public boolean supportsLocale(Locale locale)
- Specified by:
supportsLocale
in interfaceFontFamily
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceFontFamily
-
setVisible
public void setVisible(boolean isVisible)
-
-