|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRTemplateElement
net.sf.jasperreports.engine.fill.JRTemplateText
public class JRTemplateText
Text element information shared by multiple print text objects.
JRTemplatePrintText
,
Serialized FormField Summary | |
---|---|
protected java.lang.String |
fontName
|
protected java.lang.Integer |
fontSize
|
protected java.lang.String |
formatFactoryClass
|
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 JRLineBox |
lineBox
|
protected java.lang.String |
localeCode
|
protected java.lang.String |
pattern
|
protected java.lang.String |
pdfEncoding
|
protected java.lang.String |
pdfFontName
|
protected JRReportFont |
reportFont
|
protected java.lang.String |
timeZoneId
|
protected java.lang.String |
valueClassName
|
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
---|
defaultStyleProvider, origin, parentStyle |
Fields inherited from interface net.sf.jasperreports.engine.JRAlignment |
---|
HORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_JUSTIFIED, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOP |
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 |
Fields inherited from interface net.sf.jasperreports.engine.JRCommonText |
---|
MARKUP_HTML, MARKUP_NONE, MARKUP_RTF, MARKUP_STYLED_TEXT |
Constructor Summary | |
---|---|
|
JRTemplateText(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates a template text. |
protected |
JRTemplateText(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRStaticText staticText)
|
protected |
JRTemplateText(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRTextField textField)
|
Method Summary | |
---|---|
void |
copyLineBox(JRLineBox box)
Copies box attributes. |
protected JRFont |
getBaseFont()
|
byte |
getBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getBorderColor()
Deprecated. Replaced by getBox() |
byte |
getBottomBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getBottomBorderColor()
Deprecated. Replaced by getBox() |
int |
getBottomPadding()
Deprecated. Replaced by getBox() |
JRBox |
getBox()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getDefaultLineColor()
|
JRFont |
getFont()
Deprecated. |
java.lang.String |
getFontName()
|
int |
getFontSize()
|
java.lang.String |
getFormatFactoryClass()
|
byte |
getHorizontalAlignment()
Deprecated. Replaced by getHorizontalAlignmentValue() . |
HorizontalAlignEnum |
getHorizontalAlignmentValue()
Gets the text horizontal alignment. |
byte |
getHyperlinkTarget()
Deprecated. |
HyperlinkTargetEnum |
getHyperlinkTargetValue()
Retrieves the hyperlink target name for the element. |
byte |
getHyperlinkType()
Deprecated. Replaced by getHyperlinkTypeValue() . |
HyperlinkTypeEnum |
getHyperlinkTypeValue()
Retrieves the hyperlink type for the element. |
byte |
getLeftBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getLeftBorderColor()
Deprecated. Replaced by getBox() |
int |
getLeftPadding()
Deprecated. Replaced by getBox() |
JRLineBox |
getLineBox()
|
byte |
getLineSpacing()
Deprecated. Replaced by getLineSpacingValue() . |
LineSpacingEnum |
getLineSpacingValue()
Gets the text line spacing. |
java.lang.String |
getLinkTarget()
Returns the hyperlink target name. |
java.lang.String |
getLinkType()
Returns the hyperlink type. |
java.lang.String |
getLocaleCode()
|
java.lang.String |
getMarkup()
Returns the text markup. |
ModeEnum |
getModeValue()
Returns the element transparency mode. |
java.lang.Byte |
getOwnBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getOwnBorderColor()
Deprecated. Replaced by getBox() |
java.lang.Byte |
getOwnBottomBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getOwnBottomBorderColor()
Deprecated. Replaced by getBox() |
java.lang.Integer |
getOwnBottomPadding()
Deprecated. Replaced by getBox() |
java.lang.String |
getOwnFontName()
|
java.lang.Integer |
getOwnFontSize()
|
java.lang.Byte |
getOwnHorizontalAlignment()
Deprecated. Replaced by getOwnHorizontalAlignmentValue() . |
HorizontalAlignEnum |
getOwnHorizontalAlignmentValue()
|
java.lang.Byte |
getOwnLeftBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getOwnLeftBorderColor()
Deprecated. Replaced by getBox() |
java.lang.Integer |
getOwnLeftPadding()
Deprecated. Replaced by getBox() |
java.lang.Byte |
getOwnLineSpacing()
Deprecated. Replaced by getOwnLineSpacingValue() . |
LineSpacingEnum |
getOwnLineSpacingValue()
Gets the text own line spacing. |
java.lang.String |
getOwnMarkup()
|
java.lang.Integer |
getOwnPadding()
Deprecated. Replaced by getBox() |
java.lang.String |
getOwnPdfEncoding()
|
java.lang.String |
getOwnPdfFontName()
|
java.lang.Byte |
getOwnRightBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getOwnRightBorderColor()
Deprecated. Replaced by getBox() |
java.lang.Integer |
getOwnRightPadding()
Deprecated. Replaced by getBox() |
java.lang.Byte |
getOwnRotation()
Deprecated. Replaced by getOwnRotationValue() . |
RotationEnum |
getOwnRotationValue()
Gets the text own rotation. |
java.lang.Integer |
getOwnSize()
Deprecated. Replaced by getOwnFontSize() . |
java.lang.Byte |
getOwnTopBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getOwnTopBorderColor()
Deprecated. Replaced by getBox() |
java.lang.Integer |
getOwnTopPadding()
Deprecated. Replaced by getBox() |
java.lang.Byte |
getOwnVerticalAlignment()
Deprecated. Replaced by getOwnVerticalAlignmentValue() . |
VerticalAlignEnum |
getOwnVerticalAlignmentValue()
|
int |
getPadding()
Deprecated. Replaced by getBox() |
java.lang.String |
getPattern()
|
java.lang.String |
getPdfEncoding()
|
java.lang.String |
getPdfFontName()
|
JRReportFont |
getReportFont()
|
byte |
getRightBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getRightBorderColor()
Deprecated. Replaced by getBox() |
int |
getRightPadding()
Deprecated. Replaced by getBox() |
byte |
getRotation()
Deprecated. Replaced by getRotationValue() . |
RotationEnum |
getRotationValue()
Gets the text rotation. |
int |
getSize()
Deprecated. Replaced by getFontSize() . |
JRStyle |
getStyle()
Returns this object's style. |
byte |
getTextAlignment()
Deprecated. Replaced by getHorizontalAlignment() . |
java.lang.String |
getTimeZoneId()
|
byte |
getTopBorder()
Deprecated. Replaced by getBox() |
java.awt.Color |
getTopBorderColor()
Deprecated. Replaced by getBox() |
int |
getTopPadding()
Deprecated. Replaced by getBox() |
java.lang.String |
getValueClassName()
|
byte |
getVerticalAlignment()
Deprecated. Replaced by getVerticalAlignmentValue() . |
VerticalAlignEnum |
getVerticalAlignmentValue()
Gets the text vertical alignment. |
boolean |
isBold()
|
boolean |
isItalic()
|
java.lang.Boolean |
isOwnBold()
|
java.lang.Boolean |
isOwnItalic()
|
java.lang.Boolean |
isOwnPdfEmbedded()
|
java.lang.Boolean |
isOwnStrikeThrough()
|
java.lang.Boolean |
isOwnStyledText()
Deprecated. Replaced by getOwnMarkup() |
java.lang.Boolean |
isOwnUnderline()
|
boolean |
isPdfEmbedded()
|
boolean |
isStrikeThrough()
|
boolean |
isStyledText()
Deprecated. Replaced by getMarkup() |
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 |
setBorder(byte border)
Deprecated. Replaced by getBox() |
void |
setBorder(java.lang.Byte border)
Deprecated. Replaced by getBox() |
void |
setBorderColor(java.awt.Color borderColor)
Deprecated. Replaced by getBox() |
void |
setBottomBorder(byte bottomBorder)
Deprecated. Replaced by getBox() |
void |
setBottomBorder(java.lang.Byte bottomBorder)
Deprecated. Replaced by getBox() |
void |
setBottomBorderColor(java.awt.Color bottomBorderColor)
Deprecated. Replaced by getBox() |
void |
setBottomPadding(int bottomPadding)
Deprecated. Replaced by getBox() |
void |
setBottomPadding(java.lang.Integer bottomPadding)
Deprecated. Replaced by getBox() |
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 |
setFormatFactoryClass(java.lang.String formatFactoryClass)
|
void |
setHorizontalAlignment(byte horizontalAlignment)
Deprecated. Replaced by setHorizontalAlignment(HorizontalAlignEnum) . |
void |
setHorizontalAlignment(java.lang.Byte horizontalAlignment)
Deprecated. Replaced by setHorizontalAlignment(HorizontalAlignEnum) . |
void |
setHorizontalAlignment(HorizontalAlignEnum horizontalAlignmentValue)
Sets the text horizontal alignment. |
void |
setItalic(boolean isItalic)
|
void |
setItalic(java.lang.Boolean isItalic)
Alternative setItalic method which allows also to reset the "own" isItalic property. |
void |
setLeftBorder(byte leftBorder)
Deprecated. Replaced by getBox() |
void |
setLeftBorder(java.lang.Byte leftBorder)
Deprecated. Replaced by getBox() |
void |
setLeftBorderColor(java.awt.Color leftBorderColor)
Deprecated. Replaced by getBox() |
void |
setLeftPadding(int leftPadding)
Deprecated. Replaced by getBox() |
void |
setLeftPadding(java.lang.Integer leftPadding)
Deprecated. Replaced by getBox() |
void |
setLineSpacing(byte lineSpacing)
Deprecated. Replaced by setLineSpacing(LineSpacingEnum) . |
void |
setLineSpacing(java.lang.Byte lineSpacing)
Deprecated. Replaced by setLineSpacing(LineSpacingEnum) . |
void |
setLineSpacing(LineSpacingEnum lineSpacingValue)
Sets the text line spacing. |
protected void |
setLinkTarget(java.lang.String linkTarget)
|
void |
setLinkType(java.lang.String linkType)
Sets the hyperlink type. |
void |
setLocaleCode(java.lang.String localeCode)
|
void |
setMarkup(java.lang.String markup)
Sets the text markup attribute. |
void |
setPadding(int padding)
Deprecated. Replaced by getBox() |
void |
setPadding(java.lang.Integer padding)
Deprecated. Replaced by getBox() |
void |
setPattern(java.lang.String pattern)
|
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 |
setRightBorder(byte rightBorder)
Deprecated. Replaced by getBox() |
void |
setRightBorder(java.lang.Byte rightBorder)
Deprecated. Replaced by getBox() |
void |
setRightBorderColor(java.awt.Color rightBorderColor)
Deprecated. Replaced by getBox() |
void |
setRightPadding(int rightPadding)
Deprecated. Replaced by getBox() |
void |
setRightPadding(java.lang.Integer rightPadding)
Deprecated. Replaced by getBox() |
void |
setRotation(byte rotation)
Deprecated. Replaced by setRotation(RotationEnum) . |
void |
setRotation(java.lang.Byte rotation)
Deprecated. Replaced by setRotation(RotationEnum) . |
void |
setRotation(RotationEnum rotationValue)
Sets the text rotation. |
void |
setSize(int size)
Deprecated. Replaced by setFontSize(int) . |
void |
setSize(java.lang.Integer size)
Deprecated. Replaced by setFontSize(Integer) . |
protected void |
setStaticText(JRStaticText staticText)
|
void |
setStrikeThrough(boolean isStrikeThrough)
|
void |
setStrikeThrough(java.lang.Boolean isStrikeThrough)
Alternative setStrikeThrough method which allows also to reset the "own" isStrikeThrough property. |
protected void |
setTextElement(JRTextElement textElement)
|
protected void |
setTextField(JRTextField textField)
|
void |
setTimeZoneId(java.lang.String timeZoneId)
|
void |
setTopBorder(byte topBorder)
Deprecated. Replaced by getBox() |
void |
setTopBorder(java.lang.Byte topBorder)
Deprecated. Replaced by getBox() |
void |
setTopBorderColor(java.awt.Color topBorderColor)
Deprecated. Replaced by getBox() |
void |
setTopPadding(int topPadding)
Deprecated. Replaced by getBox() |
void |
setTopPadding(java.lang.Integer topPadding)
Deprecated. Replaced by getBox() |
void |
setUnderline(boolean isUnderline)
|
void |
setUnderline(java.lang.Boolean isUnderline)
Alternative setUnderline method which allows also to reset the "own" isUnderline property. |
void |
setValueClassName(java.lang.String valueClassName)
|
void |
setVerticalAlignment(byte verticalAlignment)
Deprecated. Replaced by setVerticalAlignment(VerticalAlignEnum) . |
void |
setVerticalAlignment(java.lang.Byte verticalAlignment)
Deprecated. Replaced by setVerticalAlignment(VerticalAlignEnum) . |
void |
setVerticalAlignment(VerticalAlignEnum verticalAlignmentValue)
Gets the text vertical alignment. |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
---|
getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyleNameReference |
Field Detail |
---|
protected JRLineBox lineBox
protected JRReportFont reportFont
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
protected java.lang.String valueClassName
protected java.lang.String pattern
protected java.lang.String formatFactoryClass
protected java.lang.String localeCode
protected java.lang.String timeZoneId
Constructor Detail |
---|
protected JRTemplateText(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRStaticText staticText)
protected JRTemplateText(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRTextField textField)
public JRTemplateText(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this templateMethod Detail |
---|
protected void setStaticText(JRStaticText staticText)
protected void setTextField(JRTextField textField)
protected void setTextElement(JRTextElement textElement)
public void copyLineBox(JRLineBox box)
box
- the object to copy attributes fromprotected JRFont getBaseFont()
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRTemplateElement
public byte getTextAlignment()
getHorizontalAlignment()
.
public byte getHorizontalAlignment()
getHorizontalAlignmentValue()
.
getHorizontalAlignment
in interface JRAlignment
public java.lang.Byte getOwnHorizontalAlignment()
getOwnHorizontalAlignmentValue()
.
getOwnHorizontalAlignment
in interface JRAlignment
public HorizontalAlignEnum getHorizontalAlignmentValue()
JRAlignment
getHorizontalAlignmentValue
in interface JRAlignment
HorizontalAlignEnum
public HorizontalAlignEnum getOwnHorizontalAlignmentValue()
getOwnHorizontalAlignmentValue
in interface JRAlignment
public void setHorizontalAlignment(byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum)
.
setHorizontalAlignment
in interface JRAlignment
public void setHorizontalAlignment(java.lang.Byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum)
.
setHorizontalAlignment
in interface JRAlignment
public void setHorizontalAlignment(HorizontalAlignEnum horizontalAlignmentValue)
JRAlignment
setHorizontalAlignment
in interface JRAlignment
horizontalAlignmentValue
- a value representing one of the horizontal alignment constants in HorizontalAlignEnum
public byte getVerticalAlignment()
getVerticalAlignmentValue()
.
getVerticalAlignment
in interface JRAlignment
public java.lang.Byte getOwnVerticalAlignment()
getOwnVerticalAlignmentValue()
.
getOwnVerticalAlignment
in interface JRAlignment
public VerticalAlignEnum getVerticalAlignmentValue()
JRAlignment
getVerticalAlignmentValue
in interface JRAlignment
VerticalAlignEnum
public VerticalAlignEnum getOwnVerticalAlignmentValue()
getOwnVerticalAlignmentValue
in interface JRAlignment
public void setVerticalAlignment(byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum)
.
setVerticalAlignment
in interface JRAlignment
public void setVerticalAlignment(java.lang.Byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum)
.
setVerticalAlignment
in interface JRAlignment
public void setVerticalAlignment(VerticalAlignEnum verticalAlignmentValue)
JRAlignment
setVerticalAlignment
in interface JRAlignment
verticalAlignmentValue
- a value representing one of the vertical alignment constants in VerticalAlignEnum
public byte getRotation()
getRotationValue()
.
getRotation
in interface JRCommonText
public java.lang.Byte getOwnRotation()
getOwnRotationValue()
.
getOwnRotation
in interface JRCommonText
public void setRotation(byte rotation)
setRotation(RotationEnum)
.
setRotation
in interface JRCommonText
public void setRotation(java.lang.Byte rotation)
setRotation(RotationEnum)
.
setRotation
in interface JRCommonText
public RotationEnum getRotationValue()
JRCommonText
getRotationValue
in interface JRCommonText
RotationEnum
public RotationEnum getOwnRotationValue()
JRCommonText
getOwnRotationValue
in interface JRCommonText
RotationEnum
public void setRotation(RotationEnum rotationValue)
setRotation
in interface JRCommonText
rotationValue
- one of
values, or null
if this template
should not specify a rotation attribute of its ownpublic byte getLineSpacing()
getLineSpacingValue()
.
getLineSpacing
in interface JRCommonText
public java.lang.Byte getOwnLineSpacing()
getOwnLineSpacingValue()
.
getOwnLineSpacing
in interface JRCommonText
public void setLineSpacing(byte lineSpacing)
setLineSpacing(LineSpacingEnum)
.
setLineSpacing
in interface JRCommonText
public void setLineSpacing(java.lang.Byte lineSpacing)
setLineSpacing(LineSpacingEnum)
.
setLineSpacing
in interface JRCommonText
public LineSpacingEnum getLineSpacingValue()
JRCommonText
getLineSpacingValue
in interface JRCommonText
LineSpacingEnum
public LineSpacingEnum getOwnLineSpacingValue()
JRCommonText
getOwnLineSpacingValue
in interface JRCommonText
LineSpacingEnum
public void setLineSpacing(LineSpacingEnum lineSpacingValue)
null
to be set. In this case, the line spacing is inherited from the report
style associated with the template.
setLineSpacing
in interface JRCommonText
lineSpacingValue
- a null
value or one of
public boolean isStyledText()
getMarkup()
JRCommonText
isStyledText
in interface JRCommonText
public java.lang.Boolean isOwnStyledText()
getOwnMarkup()
isOwnStyledText
in interface JRCommonText
public java.lang.String getMarkup()
JRCommonText
getMarkup
in interface JRCommonText
public java.lang.String getOwnMarkup()
getOwnMarkup
in interface JRCommonText
public void setMarkup(java.lang.String markup)
setMarkup
in interface JRCommonText
markup
- the markup attributegetMarkup()
public JRBox getBox()
getLineBox()
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public JRFont getFont()
public byte getHyperlinkType()
getHyperlinkTypeValue()
.
public HyperlinkTypeEnum getHyperlinkTypeValue()
The actual hyperlink type is determined by getLinkType()
.
This method can is used to determine whether the hyperlink type is one of the
built-in types or a custom type.
O * When hyperlink is of custom type, CUSTOM
is returned.
getLinkType()
public byte getHyperlinkTarget()
public HyperlinkTargetEnum getHyperlinkTargetValue()
The actual hyperlink target name is determined by getLinkTarget()
.
This method is used to determine whether the hyperlink target name is one of the
built-in names or a custom one.
When hyperlink target has a custom name, CUSTOM
is returned.
getLinkTarget()
public JRReportFont getReportFont()
getReportFont
in interface JRFont
public void setReportFont(JRReportFont reportFont)
setReportFont
in interface JRFont
public java.lang.String getFontName()
getFontName
in interface JRFont
public java.lang.String getOwnFontName()
getOwnFontName
in interface JRFont
public void setFontName(java.lang.String fontName)
setFontName
in interface JRFont
public boolean isBold()
isBold
in interface JRFont
public java.lang.Boolean isOwnBold()
isOwnBold
in interface JRFont
public void setBold(boolean isBold)
setBold
in interface JRFont
public void setBold(java.lang.Boolean isBold)
setBold
in interface JRFont
public boolean isItalic()
isItalic
in interface JRFont
public java.lang.Boolean isOwnItalic()
isOwnItalic
in interface JRFont
public void setItalic(boolean isItalic)
setItalic
in interface JRFont
public void setItalic(java.lang.Boolean isItalic)
setItalic
in interface JRFont
public boolean isUnderline()
isUnderline
in interface JRFont
public java.lang.Boolean isOwnUnderline()
isOwnUnderline
in interface JRFont
public void setUnderline(boolean isUnderline)
setUnderline
in interface JRFont
public void setUnderline(java.lang.Boolean isUnderline)
setUnderline
in interface JRFont
public boolean isStrikeThrough()
isStrikeThrough
in interface JRFont
public java.lang.Boolean isOwnStrikeThrough()
isOwnStrikeThrough
in interface JRFont
public void setStrikeThrough(boolean isStrikeThrough)
setStrikeThrough
in interface JRFont
public void setStrikeThrough(java.lang.Boolean isStrikeThrough)
setStrikeThrough
in interface JRFont
public int getFontSize()
getFontSize
in interface JRCommonText
getFontSize
in interface JRFont
public java.lang.Integer getOwnFontSize()
getOwnFontSize
in interface JRFont
public void setFontSize(int fontSize)
setFontSize
in interface JRFont
public void setFontSize(java.lang.Integer fontSize)
setFontSize
in interface JRFont
public int getSize()
getFontSize()
.
getSize
in interface JRFont
public java.lang.Integer getOwnSize()
getOwnFontSize()
.
getOwnSize
in interface JRFont
public void setSize(int size)
setFontSize(int)
.
setSize
in interface JRFont
public void setSize(java.lang.Integer size)
setFontSize(Integer)
.
setSize
in interface JRFont
public java.lang.String getPdfFontName()
getPdfFontName
in interface JRFont
public java.lang.String getOwnPdfFontName()
getOwnPdfFontName
in interface JRFont
public void setPdfFontName(java.lang.String pdfFontName)
setPdfFontName
in interface JRFont
public java.lang.String getPdfEncoding()
getPdfEncoding
in interface JRFont
public java.lang.String getOwnPdfEncoding()
getOwnPdfEncoding
in interface JRFont
public void setPdfEncoding(java.lang.String pdfEncoding)
setPdfEncoding
in interface JRFont
public boolean isPdfEmbedded()
isPdfEmbedded
in interface JRFont
public java.lang.Boolean isOwnPdfEmbedded()
isOwnPdfEmbedded
in interface JRFont
public void setPdfEmbedded(boolean isPdfEmbedded)
setPdfEmbedded
in interface JRFont
public void setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
setPdfEmbedded
in interface JRFont
public JRStyle getStyle()
JRStyleContainer
getStyle
in interface JRStyleContainer
getStyle
in class JRTemplateElement
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
public java.lang.String getValueClassName()
public void setValueClassName(java.lang.String valueClassName)
public java.lang.String getFormatFactoryClass()
public void setFormatFactoryClass(java.lang.String formatFactoryClass)
public java.lang.String getLocaleCode()
public void setLocaleCode(java.lang.String localeCode)
public java.lang.String getTimeZoneId()
public void setTimeZoneId(java.lang.String timeZoneId)
public java.lang.String getLinkType()
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
public void setLinkType(java.lang.String linkType)
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
linkType
- the hyperlink typeprotected void setLinkTarget(java.lang.String linkTarget)
public java.lang.String getLinkTarget()
The target name can be one of the built-in names (Self, Blank, Top, Parent), or can be an arbitrary name.
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
public byte getBorder()
getBox()
getBorder
in interface JRBox
public java.lang.Byte getOwnBorder()
getBox()
getOwnBorder
in interface JRBox
public void setBorder(byte border)
getBox()
setBorder
in interface JRBox
public void setBorder(java.lang.Byte border)
getBox()
setBorder
in interface JRBox
public java.awt.Color getBorderColor()
getBox()
getBorderColor
in interface JRBox
public java.awt.Color getOwnBorderColor()
getBox()
getOwnBorderColor
in interface JRBox
public void setBorderColor(java.awt.Color borderColor)
getBox()
setBorderColor
in interface JRBox
public int getPadding()
getBox()
getPadding
in interface JRBox
public java.lang.Integer getOwnPadding()
getBox()
getOwnPadding
in interface JRBox
public void setPadding(int padding)
getBox()
setPadding
in interface JRBox
public void setPadding(java.lang.Integer padding)
getBox()
setPadding
in interface JRBox
public byte getTopBorder()
getBox()
getTopBorder
in interface JRBox
public java.lang.Byte getOwnTopBorder()
getBox()
getOwnTopBorder
in interface JRBox
public void setTopBorder(byte topBorder)
getBox()
setTopBorder
in interface JRBox
public void setTopBorder(java.lang.Byte topBorder)
getBox()
setTopBorder
in interface JRBox
public java.awt.Color getTopBorderColor()
getBox()
getTopBorderColor
in interface JRBox
public java.awt.Color getOwnTopBorderColor()
getBox()
getOwnTopBorderColor
in interface JRBox
public void setTopBorderColor(java.awt.Color topBorderColor)
getBox()
setTopBorderColor
in interface JRBox
public int getTopPadding()
getBox()
getTopPadding
in interface JRBox
public java.lang.Integer getOwnTopPadding()
getBox()
getOwnTopPadding
in interface JRBox
public void setTopPadding(int topPadding)
getBox()
setTopPadding
in interface JRBox
public void setTopPadding(java.lang.Integer topPadding)
getBox()
setTopPadding
in interface JRBox
public byte getLeftBorder()
getBox()
getLeftBorder
in interface JRBox
public java.lang.Byte getOwnLeftBorder()
getBox()
getOwnLeftBorder
in interface JRBox
public void setLeftBorder(byte leftBorder)
getBox()
setLeftBorder
in interface JRBox
public void setLeftBorder(java.lang.Byte leftBorder)
getBox()
setLeftBorder
in interface JRBox
public java.awt.Color getLeftBorderColor()
getBox()
getLeftBorderColor
in interface JRBox
public java.awt.Color getOwnLeftBorderColor()
getBox()
getOwnLeftBorderColor
in interface JRBox
public void setLeftBorderColor(java.awt.Color leftBorderColor)
getBox()
setLeftBorderColor
in interface JRBox
public int getLeftPadding()
getBox()
getLeftPadding
in interface JRBox
public java.lang.Integer getOwnLeftPadding()
getBox()
getOwnLeftPadding
in interface JRBox
public void setLeftPadding(int leftPadding)
getBox()
setLeftPadding
in interface JRBox
public void setLeftPadding(java.lang.Integer leftPadding)
getBox()
setLeftPadding
in interface JRBox
public byte getBottomBorder()
getBox()
getBottomBorder
in interface JRBox
public java.lang.Byte getOwnBottomBorder()
getBox()
getOwnBottomBorder
in interface JRBox
public void setBottomBorder(byte bottomBorder)
getBox()
setBottomBorder
in interface JRBox
public void setBottomBorder(java.lang.Byte bottomBorder)
getBox()
setBottomBorder
in interface JRBox
public java.awt.Color getBottomBorderColor()
getBox()
getBottomBorderColor
in interface JRBox
public java.awt.Color getOwnBottomBorderColor()
getBox()
getOwnBottomBorderColor
in interface JRBox
public void setBottomBorderColor(java.awt.Color bottomBorderColor)
getBox()
setBottomBorderColor
in interface JRBox
public int getBottomPadding()
getBox()
getBottomPadding
in interface JRBox
public java.lang.Integer getOwnBottomPadding()
getBox()
getOwnBottomPadding
in interface JRBox
public void setBottomPadding(int bottomPadding)
getBox()
setBottomPadding
in interface JRBox
public void setBottomPadding(java.lang.Integer bottomPadding)
getBox()
setBottomPadding
in interface JRBox
public byte getRightBorder()
getBox()
getRightBorder
in interface JRBox
public java.lang.Byte getOwnRightBorder()
getBox()
getOwnRightBorder
in interface JRBox
public void setRightBorder(byte rightBorder)
getBox()
setRightBorder
in interface JRBox
public void setRightBorder(java.lang.Byte rightBorder)
getBox()
setRightBorder
in interface JRBox
public java.awt.Color getRightBorderColor()
getBox()
getRightBorderColor
in interface JRBox
public java.awt.Color getOwnRightBorderColor()
getBox()
getOwnRightBorderColor
in interface JRBox
public void setRightBorderColor(java.awt.Color rightBorderColor)
getBox()
setRightBorderColor
in interface JRBox
public int getRightPadding()
getBox()
getRightPadding
in interface JRBox
public java.lang.Integer getOwnRightPadding()
getBox()
getOwnRightPadding
in interface JRBox
public void setRightPadding(int rightPadding)
getBox()
setRightPadding
in interface JRBox
public void setRightPadding(java.lang.Integer rightPadding)
getBox()
setRightPadding
in interface JRBox
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |