|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseFont
public class JRBaseFont
| Field Summary | |
|---|---|
protected JRDefaultFontProvider |
defaultFontProvider
|
protected java.lang.String |
fontName
|
protected java.lang.Integer |
fontSize
|
protected java.lang.Boolean |
isBold
|
protected java.lang.Boolean |
isItalic
|
protected java.lang.Boolean |
isPdfEmbedded
|
protected java.lang.Boolean |
isStrikeThrough
|
protected java.lang.Boolean |
isUnderline
|
protected java.lang.String |
pdfEncoding
|
protected java.lang.String |
pdfFontName
|
static java.lang.String |
PROPERTY_BOLD
|
static java.lang.String |
PROPERTY_FONT_NAME
|
static java.lang.String |
PROPERTY_FONT_SIZE
|
static java.lang.String |
PROPERTY_ITALIC
|
static java.lang.String |
PROPERTY_PDF_EMBEDDED
|
static java.lang.String |
PROPERTY_PDF_ENCODING
|
static java.lang.String |
PROPERTY_PDF_FONT_NAME
|
static java.lang.String |
PROPERTY_REPORT_FONT
|
static java.lang.String |
PROPERTY_STRIKE_THROUGH
|
static java.lang.String |
PROPERTY_UNDERLINE
|
protected JRReportFont |
reportFont
|
protected JRStyleContainer |
styleContainer
|
| Fields inherited from interface net.sf.jasperreports.engine.JRFont |
|---|
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_PDF_EMBEDDED, DEFAULT_PDF_ENCODING, DEFAULT_PDF_FONT_NAME |
| Constructor Summary | |
|---|---|
|
JRBaseFont()
|
protected |
JRBaseFont(JRDefaultFontProvider defaultFontProvider)
Deprecated. To be removed in future versions. |
|
JRBaseFont(JRDefaultFontProvider defaultFontProvider,
JRReportFont reportFont,
JRFont font)
Deprecated. To be removed in future versions. |
|
JRBaseFont(JRDefaultFontProvider defaultFontProvider,
JRReportFont reportFont,
JRStyleContainer styleContainer,
JRFont font)
Deprecated. To be removed in future versions. |
|
JRBaseFont(JRStyleContainer styleContainer,
JRFont font)
|
|
JRBaseFont(java.util.Map attributes)
|
| Method Summary | |
|---|---|
JRDefaultFontProvider |
getDefaultFontProvider()
|
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
java.lang.String |
getFontName()
|
int |
getFontSize()
|
java.lang.String |
getOwnFontName()
|
java.lang.Integer |
getOwnFontSize()
|
java.lang.String |
getOwnPdfEncoding()
|
java.lang.String |
getOwnPdfFontName()
|
java.lang.Integer |
getOwnSize()
Deprecated. Replaced by getOwnFontSize(). |
java.lang.String |
getPdfEncoding()
|
java.lang.String |
getPdfFontName()
|
JRReportFont |
getReportFont()
|
int |
getSize()
Deprecated. Replaced by getFontSize(). |
JRStyle |
getStyle()
Returns this object's style. |
java.lang.String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object. |
boolean |
isBold()
|
boolean |
isItalic()
|
java.lang.Boolean |
isOwnBold()
|
java.lang.Boolean |
isOwnItalic()
|
java.lang.Boolean |
isOwnPdfEmbedded()
|
java.lang.Boolean |
isOwnStrikeThrough()
|
java.lang.Boolean |
isOwnUnderline()
|
boolean |
isPdfEmbedded()
|
boolean |
isStrikeThrough()
|
boolean |
isUnderline()
|
void |
setBold(boolean isBold)
|
void |
setBold(java.lang.Boolean isBold)
Alternative setBold method which allows also to reset the "own" isBold property. |
void |
setFontName(java.lang.String fontName)
|
void |
setFontSize(int fontSize)
|
void |
setFontSize(java.lang.Integer fontSize)
Alternative setSize method which allows also to reset the "own" size property. |
void |
setItalic(boolean isItalic)
|
void |
setItalic(java.lang.Boolean isItalic)
Alternative setItalic method which allows also to reset the "own" isItalic property. |
void |
setPdfEmbedded(boolean isPdfEmbedded)
|
void |
setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
Alternative setPdfEmbedded method which allows also to reset the "own" isPdfEmbedded property. |
void |
setPdfEncoding(java.lang.String pdfEncoding)
|
void |
setPdfFontName(java.lang.String pdfFontName)
|
void |
setReportFont(JRReportFont reportFont)
|
void |
setSize(int size)
Deprecated. Replaced by setFontSize(int). |
void |
setSize(java.lang.Integer size)
Deprecated. Replaced by setFontSize(Integer). |
void |
setStrikeThrough(boolean isStrikeThrough)
|
void |
setStrikeThrough(java.lang.Boolean isStrikeThrough)
Alternative setStrikeThrough method which allows also to reset the "own" isStrikeThrough property. |
void |
setUnderline(boolean isUnderline)
|
void |
setUnderline(java.lang.Boolean isUnderline)
Alternative setUnderline method which allows also to reset the "own" isUnderline property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_BOLD
public static final java.lang.String PROPERTY_FONT_NAME
public static final java.lang.String PROPERTY_FONT_SIZE
public static final java.lang.String PROPERTY_ITALIC
public static final java.lang.String PROPERTY_PDF_EMBEDDED
public static final java.lang.String PROPERTY_PDF_ENCODING
public static final java.lang.String PROPERTY_PDF_FONT_NAME
public static final java.lang.String PROPERTY_REPORT_FONT
public static final java.lang.String PROPERTY_STRIKE_THROUGH
public static final java.lang.String PROPERTY_UNDERLINE
protected JRDefaultFontProvider defaultFontProvider
protected JRReportFont reportFont
protected JRStyleContainer styleContainer
protected java.lang.String fontName
protected java.lang.Boolean isBold
protected java.lang.Boolean isItalic
protected java.lang.Boolean isUnderline
protected java.lang.Boolean isStrikeThrough
protected java.lang.Integer fontSize
protected java.lang.String pdfFontName
protected java.lang.String pdfEncoding
protected java.lang.Boolean isPdfEmbedded
| Constructor Detail |
|---|
public JRBaseFont()
public JRBaseFont(java.util.Map attributes)
protected JRBaseFont(JRDefaultFontProvider defaultFontProvider)
public JRBaseFont(JRDefaultFontProvider defaultFontProvider,
JRReportFont reportFont,
JRFont font)
public JRBaseFont(JRStyleContainer styleContainer,
JRFont font)
public JRBaseFont(JRDefaultFontProvider defaultFontProvider,
JRReportFont reportFont,
JRStyleContainer styleContainer,
JRFont font)
| Method Detail |
|---|
public JRDefaultFontProvider getDefaultFontProvider()
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JRStyle getStyle()
JRStyleContainer
getStyle in interface JRStyleContainerpublic JRReportFont getReportFont()
getReportFont in interface JRFontpublic void setReportFont(JRReportFont reportFont)
setReportFont in interface JRFontpublic java.lang.String getFontName()
getFontName in interface JRFontpublic java.lang.String getOwnFontName()
getOwnFontName in interface JRFontpublic void setFontName(java.lang.String fontName)
setFontName in interface JRFontpublic boolean isBold()
isBold in interface JRFontpublic java.lang.Boolean isOwnBold()
isOwnBold in interface JRFontpublic void setBold(boolean isBold)
setBold in interface JRFontpublic void setBold(java.lang.Boolean isBold)
setBold in interface JRFontpublic boolean isItalic()
isItalic in interface JRFontpublic java.lang.Boolean isOwnItalic()
isOwnItalic in interface JRFontpublic void setItalic(boolean isItalic)
setItalic in interface JRFontpublic void setItalic(java.lang.Boolean isItalic)
setItalic in interface JRFontpublic boolean isUnderline()
isUnderline in interface JRFontpublic java.lang.Boolean isOwnUnderline()
isOwnUnderline in interface JRFontpublic void setUnderline(boolean isUnderline)
setUnderline in interface JRFontpublic void setUnderline(java.lang.Boolean isUnderline)
setUnderline in interface JRFontpublic boolean isStrikeThrough()
isStrikeThrough in interface JRFontpublic java.lang.Boolean isOwnStrikeThrough()
isOwnStrikeThrough in interface JRFontpublic void setStrikeThrough(boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic void setStrikeThrough(java.lang.Boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic int getFontSize()
getFontSize in interface JRFontpublic java.lang.Integer getOwnFontSize()
getOwnFontSize in interface JRFontpublic void setFontSize(int fontSize)
setFontSize in interface JRFontpublic void setFontSize(java.lang.Integer fontSize)
setFontSize in interface JRFontpublic int getSize()
getFontSize().
getSize in interface JRFontpublic java.lang.Integer getOwnSize()
getOwnFontSize().
getOwnSize in interface JRFontpublic void setSize(int size)
setFontSize(int).
setSize in interface JRFontpublic void setSize(java.lang.Integer size)
setFontSize(Integer).
setSize in interface JRFontpublic java.lang.String getPdfFontName()
getPdfFontName in interface JRFontpublic java.lang.String getOwnPdfFontName()
getOwnPdfFontName in interface JRFontpublic void setPdfFontName(java.lang.String pdfFontName)
setPdfFontName in interface JRFontpublic java.lang.String getPdfEncoding()
getPdfEncoding in interface JRFontpublic java.lang.String getOwnPdfEncoding()
getOwnPdfEncoding in interface JRFontpublic void setPdfEncoding(java.lang.String pdfEncoding)
setPdfEncoding in interface JRFontpublic boolean isPdfEmbedded()
isPdfEmbedded in interface JRFontpublic java.lang.Boolean isOwnPdfEmbedded()
isOwnPdfEmbedded in interface JRFontpublic void setPdfEmbedded(boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic void setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic java.lang.String getStyleNameReference()
JRStyleContainertemplates and are resolved
at fill time.
This attribute is only effective if no direct style (as returned by getStyle()
is specified for this object.
getStyleNameReference in interface JRStyleContainerpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport in interface JRChangeEventsSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||