Class JRDesignStyle
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseStyle
net.sf.jasperreports.engine.design.JRDesignStyle
- All Implemented Interfaces:
Serializable,Cloneable,Deduplicable,JRChangeEventsSupport,JRBoxContainer,JRCloneable,JRParagraphContainer,JRPenContainer,JRStyle,JRStyleContainer
- Author:
- Ionut Nedelcu (ionutned@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.engine.base.JRBaseStyle
backcolor, conditionalStyles, defaultStyleProvider, EXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY, fill, fontName, fontSize, forecolor, horizontalImageAlign, horizontalTextAlign, isBlankWhenNull, isBold, isDefault, isItalic, isPdfEmbedded, isStrikeThrough, isUnderline, lineBox, linePen, markup, mode, name, paragraph, parentStyle, parentStyleNameReference, pattern, pdfEncoding, pdfFontName, PROPERTY_BACKCOLOR, PROPERTY_BLANK_WHEN_NULL, PROPERTY_BOLD, PROPERTY_FILL, PROPERTY_FONT_NAME, PROPERTY_FONT_SIZE, PROPERTY_FORECOLOR, PROPERTY_HORIZONTAL_IMAGE_ALIGNMENT, PROPERTY_HORIZONTAL_TEXT_ALIGNMENT, PROPERTY_ITALIC, PROPERTY_MARKUP, PROPERTY_MODE, PROPERTY_PATTERN, PROPERTY_PDF_EMBEDDED, PROPERTY_PDF_ENCODING, PROPERTY_PDF_FONT_NAME, PROPERTY_RADIUS, PROPERTY_ROTATION, PROPERTY_SCALE_IMAGE, PROPERTY_STRIKE_THROUGH, PROPERTY_UNDERLINE, PROPERTY_VERTICAL_IMAGE_ALIGNMENT, PROPERTY_VERTICAL_TEXT_ALIGNMENT, radius, rotation, scaleImage, verticalImageAlign, verticalTextAlignFields inherited from interface net.sf.jasperreports.engine.JRStyle
PROPERTY_EVALUATION_TIME_ENABLED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConditionalStyle(int index, JRConditionalStyle conditionalStyle) voidaddConditionalStyle(JRConditionalStyle conditionalStyle) clone()booleanremoveConditionalStyle(JRConditionalStyle conditionalStyle) voidsetDefault(boolean isDefault) voidvoidsetParentStyle(JRStyle parentStyle) voidsetParentStyleNameReference(String styleName) Set the name of the external style to be used as parent style.Methods inherited from class net.sf.jasperreports.engine.base.JRBaseStyle
addStyleHash, checkCircularParent, getBackcolor, getDefaultLineColor, getDefaultLineWidth, getDefaultStyleProvider, getEventSupport, getFill, getFontName, getFontSize, getForecolor, getHashCode, getHorizontalImageAlign, getHorizontalTextAlign, getLineBox, getLinePen, getMarkup, getMode, getName, getOwnBackcolor, getOwnFill, getOwnFontName, getOwnFontSize, getOwnForecolor, getOwnHorizontalImageAlign, getOwnHorizontalTextAlign, getOwnMarkup, getOwnMode, getOwnPattern, getOwnPdfEncoding, getOwnPdfFontName, getOwnRadius, getOwnRotation, getOwnScaleImage, getOwnVerticalImageAlign, getOwnVerticalTextAlign, getParagraph, getPattern, getPdfEncoding, getPdfFontName, getRadius, getRotation, getScaleImage, getStyle, getStyleNameReference, getStyleResolver, getVerticalImageAlign, getVerticalTextAlign, identicalStyle, isBlankWhenNull, isBold, isDefault, isIdentical, isItalic, isOwnBlankWhenNull, isOwnBold, isOwnItalic, isOwnPdfEmbedded, isOwnStrikeThrough, isOwnUnderline, isPdfEmbedded, isStrikeThrough, isUnderline, rename, setBackcolor, setBlankWhenNull, setBold, setFill, setFontName, setFontSize, setForecolor, setHorizontalImageAlign, setHorizontalTextAlign, setItalic, setMarkup, setMode, setPattern, setPdfEmbedded, setPdfEncoding, setPdfFontName, setRadius, setRotation, setScaleImage, setStrikeThrough, setUnderline, setVerticalImageAlign, setVerticalTextAlignMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getStyleName
-
Field Details
-
PROPERTY_DEFAULT
- See Also:
-
PROPERTY_NAME
- See Also:
-
PROPERTY_PARENT_STYLE
- See Also:
-
PROPERTY_PARENT_STYLE_NAME_REFERENCE
- See Also:
-
PROPERTY_CONDITIONAL_STYLES
- See Also:
-
-
Constructor Details
-
JRDesignStyle
public JRDesignStyle() -
JRDesignStyle
-
-
Method Details
-
setName
-
setDefault
public void setDefault(boolean isDefault) -
setParentStyle
- Overrides:
setParentStylein classJRBaseStyle
-
addConditionalStyle
-
addConditionalStyle
-
removeConditionalStyle
-
getConditionalStyles
- Specified by:
getConditionalStylesin interfaceJRStyle- Overrides:
getConditionalStylesin classJRBaseStyle
-
getConditionalStyleList
-
setParentStyleNameReference
Set the name of the external style to be used as parent style. An external style is only effective when there is no internal parent style set, i.e.getStyle()returnsnullThe external style will be resolved at fill time from the templates used in the report.- Parameters:
styleName- the name of the external style- See Also:
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseStyle
-