|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRStyle
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_EVALUATION_TIME_ENABLED
A flag the determines whether the style of an element is evaluated at the element evaluation time, or at the time the band on which the element is placed is rendered. |
Method Summary | |
---|---|
java.awt.Color |
getBackcolor()
|
JRConditionalStyle[] |
getConditionalStyles()
|
FillEnum |
getFillValue()
Indicates the fill type used for this element. |
java.lang.String |
getFontName()
|
java.lang.Integer |
getFontSize()
|
java.awt.Color |
getForecolor()
|
HorizontalAlignEnum |
getHorizontalAlignmentValue()
Gets the horizontal alignment of the element. |
JRLineBox |
getLineBox()
|
JRPen |
getLinePen()
|
LineSpacingEnum |
getLineSpacingValue()
Deprecated. Replaced by JRParagraph.getLineSpacing() . |
java.lang.String |
getMarkup()
Returns the markup language used to format the text. |
ModeEnum |
getModeValue()
Returns the element transparency mode. |
java.lang.String |
getName()
Gets the style unique name. |
java.awt.Color |
getOwnBackcolor()
|
FillEnum |
getOwnFillValue()
|
java.lang.String |
getOwnFontName()
|
java.lang.Integer |
getOwnFontSize()
|
java.awt.Color |
getOwnForecolor()
|
HorizontalAlignEnum |
getOwnHorizontalAlignmentValue()
|
LineSpacingEnum |
getOwnLineSpacingValue()
Deprecated. Replaced by JRParagraph.getOwnLineSpacing() . |
java.lang.String |
getOwnMarkup()
|
ModeEnum |
getOwnModeValue()
|
java.lang.String |
getOwnPattern()
|
java.lang.String |
getOwnPdfEncoding()
|
java.lang.String |
getOwnPdfFontName()
|
java.lang.Integer |
getOwnRadius()
|
RotationEnum |
getOwnRotationValue()
Gets the text own rotation. |
ScaleImageEnum |
getOwnScaleImageValue()
Gets the image own scale type. |
VerticalAlignEnum |
getOwnVerticalAlignmentValue()
|
java.lang.String |
getPattern()
Gets the pattern used for this text field. |
java.lang.String |
getPdfEncoding()
|
java.lang.String |
getPdfFontName()
|
java.lang.Integer |
getRadius()
Indicates the corner radius for rectangles with round corners. |
RotationEnum |
getRotationValue()
Gets the text rotation. |
ScaleImageEnum |
getScaleImageValue()
Gets the image scale type. |
VerticalAlignEnum |
getVerticalAlignmentValue()
Gets the vertical alignment of the element. |
java.lang.Boolean |
isBlankWhenNull()
|
java.lang.Boolean |
isBold()
|
boolean |
isDefault()
Gets a flag that specifies if this is the default report style. |
java.lang.Boolean |
isItalic()
|
java.lang.Boolean |
isOwnBlankWhenNull()
|
java.lang.Boolean |
isOwnBold()
|
java.lang.Boolean |
isOwnItalic()
|
java.lang.Boolean |
isOwnPdfEmbedded()
|
java.lang.Boolean |
isOwnStrikeThrough()
|
java.lang.Boolean |
isOwnUnderline()
|
java.lang.Boolean |
isPdfEmbedded()
|
java.lang.Boolean |
isStrikeThrough()
|
java.lang.Boolean |
isUnderline()
|
void |
setBackcolor(java.awt.Color backcolor)
|
void |
setBlankWhenNull(boolean isBlankWhenNull)
|
void |
setBlankWhenNull(java.lang.Boolean isBlankWhenNull)
|
void |
setBold(boolean bold)
|
void |
setBold(java.lang.Boolean bold)
|
void |
setFill(FillEnum fill)
|
void |
setFontName(java.lang.String fontName)
|
void |
setFontSize(int fontSize)
|
void |
setFontSize(java.lang.Integer fontSize)
|
void |
setForecolor(java.awt.Color forecolor)
|
void |
setHorizontalAlignment(HorizontalAlignEnum horizontalAlignment)
|
void |
setItalic(boolean italic)
|
void |
setItalic(java.lang.Boolean italic)
|
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Deprecated. Replaced by JRParagraph.setLineSpacing(LineSpacingEnum) |
void |
setMarkup(java.lang.String markup)
|
void |
setMode(ModeEnum mode)
|
void |
setPattern(java.lang.String pattern)
|
void |
setPdfEmbedded(boolean pdfEmbedded)
|
void |
setPdfEmbedded(java.lang.Boolean pdfEmbedded)
|
void |
setPdfEncoding(java.lang.String pdfEncoding)
|
void |
setPdfFontName(java.lang.String pdfFontName)
|
void |
setRadius(int radius)
|
void |
setRadius(java.lang.Integer radius)
|
void |
setRotation(RotationEnum rotation)
|
void |
setScaleImage(ScaleImageEnum scaleImage)
|
void |
setStrikeThrough(boolean strikeThrough)
|
void |
setStrikeThrough(java.lang.Boolean strikeThrough)
|
void |
setUnderline(boolean underline)
|
void |
setUnderline(java.lang.Boolean underline)
|
void |
setVerticalAlignment(VerticalAlignEnum verticalAlignment)
|
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer |
---|
getDefaultLineColor |
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRParagraphContainer |
---|
getParagraph |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
static final java.lang.String PROPERTY_EVALUATION_TIME_ENABLED
This applies to report elements that can have delayed evaluations times
(such as text fields and images). When this flag is set to
true
, conditional style expressions of the style that is
associated with the element are evaluated at the moment the element is
set to evaluate, and the resulting style to the generated print element.
By default, this flag is set to false
. The property can be
set globally, at report level and at element level.
Method Detail |
---|
java.lang.String getName()
boolean isDefault()
ModeEnum getModeValue()
ModeEnum getOwnModeValue()
java.awt.Color getForecolor()
java.awt.Color getOwnForecolor()
java.awt.Color getBackcolor()
java.awt.Color getOwnBackcolor()
JRPen getLinePen()
FillEnum getFillValue()
FillEnum
.FillEnum getOwnFillValue()
java.lang.Integer getRadius()
java.lang.Integer getOwnRadius()
ScaleImageEnum getScaleImageValue()
ScaleImageEnum
ScaleImageEnum getOwnScaleImageValue()
ScaleImageEnum
HorizontalAlignEnum getHorizontalAlignmentValue()
HorizontalAlignEnum
HorizontalAlignEnum getOwnHorizontalAlignmentValue()
VerticalAlignEnum getVerticalAlignmentValue()
JRAlignment
VerticalAlignEnum getOwnVerticalAlignmentValue()
JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
RotationEnum getRotationValue()
RotationEnum
.RotationEnum getOwnRotationValue()
RotationEnum
.LineSpacingEnum getLineSpacingValue()
JRParagraph.getLineSpacing()
.
LineSpacingEnum getOwnLineSpacingValue()
JRParagraph.getOwnLineSpacing()
.
java.lang.String getMarkup()
java.lang.String getOwnMarkup()
java.lang.String getFontName()
java.lang.String getOwnFontName()
java.lang.Boolean isBold()
java.lang.Boolean isOwnBold()
java.lang.Boolean isItalic()
java.lang.Boolean isOwnItalic()
java.lang.Boolean isUnderline()
java.lang.Boolean isOwnUnderline()
java.lang.Boolean isStrikeThrough()
java.lang.Boolean isOwnStrikeThrough()
java.lang.Integer getFontSize()
java.lang.Integer getOwnFontSize()
java.lang.String getPdfFontName()
java.lang.String getOwnPdfFontName()
java.lang.String getPdfEncoding()
java.lang.String getOwnPdfEncoding()
java.lang.Boolean isPdfEmbedded()
java.lang.Boolean isOwnPdfEmbedded()
java.lang.String getPattern()
java.lang.String getOwnPattern()
java.lang.Boolean isBlankWhenNull()
java.lang.Boolean isOwnBlankWhenNull()
void setForecolor(java.awt.Color forecolor)
void setBackcolor(java.awt.Color backcolor)
void setMode(ModeEnum mode)
void setFill(FillEnum fill)
void setRadius(int radius)
void setRadius(java.lang.Integer radius)
void setScaleImage(ScaleImageEnum scaleImage)
void setHorizontalAlignment(HorizontalAlignEnum horizontalAlignment)
void setVerticalAlignment(VerticalAlignEnum verticalAlignment)
void setRotation(RotationEnum rotation)
void setFontName(java.lang.String fontName)
void setBold(boolean bold)
void setBold(java.lang.Boolean bold)
void setItalic(boolean italic)
void setItalic(java.lang.Boolean italic)
void setPdfEmbedded(boolean pdfEmbedded)
void setPdfEmbedded(java.lang.Boolean pdfEmbedded)
void setStrikeThrough(boolean strikeThrough)
void setStrikeThrough(java.lang.Boolean strikeThrough)
void setMarkup(java.lang.String markup)
void setUnderline(boolean underline)
void setUnderline(java.lang.Boolean underline)
void setLineSpacing(LineSpacingEnum lineSpacing)
JRParagraph.setLineSpacing(LineSpacingEnum)
void setPattern(java.lang.String pattern)
void setBlankWhenNull(boolean isBlankWhenNull)
void setBlankWhenNull(java.lang.Boolean isBlankWhenNull)
void setPdfEncoding(java.lang.String pdfEncoding)
void setPdfFontName(java.lang.String pdfFontName)
void setFontSize(int fontSize)
void setFontSize(java.lang.Integer fontSize)
JRConditionalStyle[] getConditionalStyles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |