public class SimpleFontFace extends java.lang.Object implements FontFace, JRCloneable
Constructor and Description |
---|
SimpleFontFace(java.awt.Font font)
Deprecated.
To be removed.
|
SimpleFontFace(JasperReportsContext jasperReportsContext) |
SimpleFontFace(JasperReportsContext jasperReportsContext,
java.lang.String ttf)
Deprecated.
Replaced by #
SimpleFontFace(JasperReportsContext) and setTtf(String) . |
SimpleFontFace(java.lang.String file)
Deprecated.
Replaced by #
SimpleFontFace(JasperReportsContext) and setTtf(String) . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getEot() |
java.lang.String |
getFile()
Deprecated.
Replaced by
getTtf() . |
java.awt.Font |
getFont()
Returns a non-null instance of java.awt.Font representing the font face.
|
static SimpleFontFace |
getInstance(JasperReportsContext jasperReportsContext,
java.lang.String fontName)
Deprecated.
Replaced by
SimpleFontFace(JasperReportsContext) and setTtf(String) . |
java.lang.String |
getName()
Returns the non-null name of the font face.
|
java.lang.String |
getPdf() |
java.lang.String |
getSvg() |
java.lang.String |
getTtf()
Returns the TTF file, if the font face has specified one (the font face does not specify a TTF file in case it maps
a JVM available font such as a Java logical font or a system font).
|
java.lang.String |
getWoff() |
void |
setEot(java.lang.String eot) |
void |
setPdf(java.lang.String pdf) |
void |
setSvg(java.lang.String svg) |
void |
setTtf(java.lang.String ttf) |
void |
setWoff(java.lang.String woff) |
public SimpleFontFace(JasperReportsContext jasperReportsContext, java.lang.String ttf)
SimpleFontFace(JasperReportsContext)
and setTtf(String)
.public SimpleFontFace(java.lang.String file)
SimpleFontFace(JasperReportsContext)
and setTtf(String)
.public SimpleFontFace(java.awt.Font font)
public SimpleFontFace(JasperReportsContext jasperReportsContext)
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public static SimpleFontFace getInstance(JasperReportsContext jasperReportsContext, java.lang.String fontName)
SimpleFontFace(JasperReportsContext)
and setTtf(String)
.public java.lang.String getName()
FontFace
public java.lang.String getFile()
getTtf()
.public java.lang.String getTtf()
FontFace
public void setTtf(java.lang.String ttf)
public java.awt.Font getFont()
FontFace
public void setPdf(java.lang.String pdf)
public void setEot(java.lang.String eot)
public void setSvg(java.lang.String svg)
public void setWoff(java.lang.String woff)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com