|
||||||||||
| 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 String |
fontName
|
protected Integer |
fontSize
|
protected Boolean |
isBold
|
protected Boolean |
isItalic
|
protected Boolean |
isPdfEmbedded
|
protected Boolean |
isStrikeThrough
|
protected Boolean |
isUnderline
|
protected String |
pdfEncoding
|
protected String |
pdfFontName
|
static String |
PROPERTY_BOLD
|
static String |
PROPERTY_FONT_NAME
|
static String |
PROPERTY_FONT_SIZE
|
static String |
PROPERTY_ITALIC
|
static String |
PROPERTY_PDF_EMBEDDED
|
static String |
PROPERTY_PDF_ENCODING
|
static String |
PROPERTY_PDF_FONT_NAME
|
static String |
PROPERTY_REPORT_FONT
|
static String |
PROPERTY_STRIKE_THROUGH
|
static String |
PROPERTY_UNDERLINE
|
protected JRStyle |
style
|
protected JRStyleContainer |
styleContainer
|
protected String |
styleNameReference
|
| 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()
|
|
JRBaseFont(JRStyleContainer styleContainer)
|
|
JRBaseFont(JRStyleContainer styleContainer,
JRFont font)
|
|
JRBaseFont(JRStyleContainer styleContainer,
JRFont font,
JRAbstractObjectFactory factory)
|
|
JRBaseFont(Map<AttributedCharacterIterator.Attribute,Object> attributes)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
String |
getFontName()
|
int |
getFontSize()
|
String |
getOwnFontName()
|
Integer |
getOwnFontSize()
|
String |
getOwnPdfEncoding()
|
String |
getOwnPdfFontName()
|
String |
getPdfEncoding()
|
String |
getPdfFontName()
|
JRStyle |
getStyle()
Returns this object's style. |
String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object. |
boolean |
isBold()
|
boolean |
isItalic()
|
Boolean |
isOwnBold()
|
Boolean |
isOwnItalic()
|
Boolean |
isOwnPdfEmbedded()
|
Boolean |
isOwnStrikeThrough()
|
Boolean |
isOwnUnderline()
|
boolean |
isPdfEmbedded()
|
boolean |
isStrikeThrough()
|
boolean |
isUnderline()
|
void |
setBold(boolean isBold)
|
void |
setBold(Boolean isBold)
Alternative setBold method which allows also to reset the "own" isBold property. |
void |
setFontName(String fontName)
|
void |
setFontSize(int fontSize)
|
void |
setFontSize(Integer fontSize)
Alternative setSize method which allows also to reset the "own" size property. |
void |
setItalic(boolean isItalic)
|
void |
setItalic(Boolean isItalic)
Alternative setItalic method which allows also to reset the "own" isItalic property. |
void |
setPdfEmbedded(boolean isPdfEmbedded)
|
void |
setPdfEmbedded(Boolean isPdfEmbedded)
Alternative setPdfEmbedded method which allows also to reset the "own" isPdfEmbedded property. |
void |
setPdfEncoding(String pdfEncoding)
|
void |
setPdfFontName(String pdfFontName)
|
void |
setStrikeThrough(boolean isStrikeThrough)
|
void |
setStrikeThrough(Boolean isStrikeThrough)
Alternative setStrikeThrough method which allows also to reset the "own" isStrikeThrough property. |
void |
setUnderline(boolean isUnderline)
|
void |
setUnderline(Boolean isUnderline)
Alternative setUnderline method which allows also to reset the "own" isUnderline property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_BOLD
public static final String PROPERTY_FONT_NAME
public static final String PROPERTY_FONT_SIZE
public static final String PROPERTY_ITALIC
public static final String PROPERTY_PDF_EMBEDDED
public static final String PROPERTY_PDF_ENCODING
public static final String PROPERTY_PDF_FONT_NAME
public static final String PROPERTY_REPORT_FONT
public static final String PROPERTY_STRIKE_THROUGH
public static final String PROPERTY_UNDERLINE
protected JRStyleContainer styleContainer
protected JRStyle style
protected String styleNameReference
protected String fontName
protected Boolean isBold
protected Boolean isItalic
protected Boolean isUnderline
protected Boolean isStrikeThrough
protected Integer fontSize
protected String pdfFontName
protected String pdfEncoding
protected Boolean isPdfEmbedded
| Constructor Detail |
|---|
public JRBaseFont()
public JRBaseFont(Map<AttributedCharacterIterator.Attribute,Object> attributes)
public JRBaseFont(JRStyleContainer styleContainer)
public JRBaseFont(JRStyleContainer styleContainer,
JRFont font)
public JRBaseFont(JRStyleContainer styleContainer,
JRFont font,
JRAbstractObjectFactory factory)
| Method Detail |
|---|
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JRStyle getStyle()
JRStyleContainer
getStyle in interface JRStyleContainerpublic 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 String getFontName()
getFontName in interface JRFontpublic String getOwnFontName()
getOwnFontName in interface JRFontpublic void setFontName(String fontName)
setFontName in interface JRFontpublic boolean isBold()
isBold in interface JRFontpublic Boolean isOwnBold()
isOwnBold in interface JRFontpublic void setBold(boolean isBold)
setBold in interface JRFontpublic void setBold(Boolean isBold)
setBold in interface JRFontpublic boolean isItalic()
isItalic in interface JRFontpublic Boolean isOwnItalic()
isOwnItalic in interface JRFontpublic void setItalic(boolean isItalic)
setItalic in interface JRFontpublic void setItalic(Boolean isItalic)
setItalic in interface JRFontpublic boolean isUnderline()
isUnderline in interface JRFontpublic Boolean isOwnUnderline()
isOwnUnderline in interface JRFontpublic void setUnderline(boolean isUnderline)
setUnderline in interface JRFontpublic void setUnderline(Boolean isUnderline)
setUnderline in interface JRFontpublic boolean isStrikeThrough()
isStrikeThrough in interface JRFontpublic Boolean isOwnStrikeThrough()
isOwnStrikeThrough in interface JRFontpublic void setStrikeThrough(boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic void setStrikeThrough(Boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic int getFontSize()
getFontSize in interface JRFontpublic Integer getOwnFontSize()
getOwnFontSize in interface JRFontpublic void setFontSize(int fontSize)
setFontSize in interface JRFontpublic void setFontSize(Integer fontSize)
setFontSize in interface JRFontpublic String getPdfFontName()
getPdfFontName in interface JRFontpublic String getOwnPdfFontName()
getOwnPdfFontName in interface JRFontpublic void setPdfFontName(String pdfFontName)
setPdfFontName in interface JRFontpublic String getPdfEncoding()
getPdfEncoding in interface JRFontpublic String getOwnPdfEncoding()
getOwnPdfEncoding in interface JRFontpublic void setPdfEncoding(String pdfEncoding)
setPdfEncoding in interface JRFontpublic boolean isPdfEmbedded()
isPdfEmbedded in interface JRFontpublic Boolean isOwnPdfEmbedded()
isOwnPdfEmbedded in interface JRFontpublic void setPdfEmbedded(boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic void setPdfEmbedded(Boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport in interface JRChangeEventsSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||