public class JRDesignStyle extends JRBaseStyle
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CONDITIONAL_STYLES |
static String |
PROPERTY_DEFAULT |
static String |
PROPERTY_NAME |
static String |
PROPERTY_PARENT_STYLE |
static String |
PROPERTY_PARENT_STYLE_NAME_REFERENCE |
backcolor, conditionalStyles, defaultStyleProvider, fillValue, fontName, fontsize, forecolor, horizontalImageAlign, horizontalTextAlign, isBlankWhenNull, isBold, isDefault, isItalic, isPdfEmbedded, isStrikeThrough, isUnderline, lineBox, linePen, markup, modeValue, name, paragraph, parentStyle, parentStyleNameReference, pattern, pdfEncoding, pdfFontName, positionType, PROPERTY_BACKCOLOR, PROPERTY_BLANK_WHEN_NULL, PROPERTY_BOLD, PROPERTY_FILL, PROPERTY_FONT_NAME, PROPERTY_FONT_SIZE, PROPERTY_FORECOLOR, PROPERTY_HORIZONTAL_ALIGNMENT, PROPERTY_HORIZONTAL_IMAGE_ALIGNMENT, PROPERTY_HORIZONTAL_TEXT_ALIGNMENT, PROPERTY_ITALIC, PROPERTY_LINE_SPACING, 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_ALIGNMENT, PROPERTY_VERTICAL_IMAGE_ALIGNMENT, PROPERTY_VERTICAL_TEXT_ALIGNMENT, radius, rotationValue, scaleImageValue, stretchType, verticalImageAlign, verticalTextAlign
PROPERTY_EVALUATION_TIME_ENABLED
Constructor and Description |
---|
JRDesignStyle() |
Modifier and Type | Method and Description |
---|---|
void |
addConditionalStyle(int index,
JRConditionalStyle conditionalStyle) |
void |
addConditionalStyle(JRConditionalStyle conditionalStyle) |
Object |
clone() |
List<JRConditionalStyle> |
getConditionalStyleList() |
JRConditionalStyle[] |
getConditionalStyles() |
boolean |
removeConditionalStyle(JRConditionalStyle conditionalStyle) |
void |
setDefault(boolean isDefault) |
void |
setName(String name) |
void |
setParentStyle(JRStyle parentStyle) |
void |
setParentStyleNameReference(String styleName)
Set the name of the external style to be used as parent style.
|
addStyleHash, checkCircularParent, getBackcolor, getDefaultLineColor, getDefaultLineWidth, getDefaultStyleProvider, getEventSupport, getFillValue, getFontName, getFontsize, getFontSize, getForecolor, getHashCode, getHorizontalAlignmentValue, getHorizontalImageAlign, getHorizontalTextAlign, getLineBox, getLinePen, getLineSpacingValue, getMarkup, getModeValue, getName, getOwnBackcolor, getOwnFillValue, getOwnFontName, getOwnFontsize, getOwnFontSize, getOwnForecolor, getOwnHorizontalAlignmentValue, getOwnHorizontalImageAlign, getOwnHorizontalTextAlign, getOwnLineSpacingValue, getOwnMarkup, getOwnModeValue, getOwnPattern, getOwnPdfEncoding, getOwnPdfFontName, getOwnRadius, getOwnRotationValue, getOwnScaleImageValue, getOwnVerticalAlignmentValue, getOwnVerticalImageAlign, getOwnVerticalTextAlign, getParagraph, getPattern, getPdfEncoding, getPdfFontName, getRadius, getRotationValue, getScaleImageValue, getStyle, getStyleNameReference, getVerticalAlignmentValue, getVerticalImageAlign, getVerticalTextAlign, identicalStyle, isBlankWhenNull, isBold, isDefault, isIdentical, isItalic, isOwnBlankWhenNull, isOwnBold, isOwnItalic, isOwnPdfEmbedded, isOwnStrikeThrough, isOwnUnderline, isPdfEmbedded, isStrikeThrough, isUnderline, rename, setBackcolor, setBlankWhenNull, setBlankWhenNull, setBold, setBold, setFill, setFontName, setFontSize, setFontSize, setFontSize, setForecolor, setHorizontalAlignment, setHorizontalImageAlign, setHorizontalTextAlign, setItalic, setItalic, setLineSpacing, setMarkup, setMode, setPattern, setPdfEmbedded, setPdfEmbedded, setPdfEncoding, setPdfFontName, setRadius, setRadius, setRotation, setScaleImage, setStrikeThrough, setStrikeThrough, setUnderline, setUnderline, setVerticalAlignment, setVerticalImageAlign, setVerticalTextAlign
public static final String PROPERTY_DEFAULT
public static final String PROPERTY_NAME
public static final String PROPERTY_PARENT_STYLE
public static final String PROPERTY_PARENT_STYLE_NAME_REFERENCE
public static final String PROPERTY_CONDITIONAL_STYLES
public void setName(String name)
public void setDefault(boolean isDefault)
public void setParentStyle(JRStyle parentStyle)
setParentStyle
in class JRBaseStyle
public void addConditionalStyle(JRConditionalStyle conditionalStyle)
public void addConditionalStyle(int index, JRConditionalStyle conditionalStyle)
public boolean removeConditionalStyle(JRConditionalStyle conditionalStyle)
public JRConditionalStyle[] getConditionalStyles()
getConditionalStyles
in interface JRStyle
getConditionalStyles
in class JRBaseStyle
public List<JRConditionalStyle> getConditionalStyleList()
public void setParentStyleNameReference(String styleName)
getStyle()
returns null
The external style will be resolved at fill time from the templates used in the report.styleName
- the name of the external styleJRBaseStyle.getStyleNameReference()
public Object clone()
clone
in interface JRCloneable
clone
in class JRBaseStyle
Copyright © 2015. All rights reserved.