public class JRDesignStyle extends JRBaseStyle
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CONDITIONAL_STYLES |
static java.lang.String |
PROPERTY_DEFAULT |
static java.lang.String |
PROPERTY_NAME |
static java.lang.String |
PROPERTY_PARENT_STYLE |
static java.lang.String |
PROPERTY_PARENT_STYLE_NAME_REFERENCE |
backcolor, conditionalStyles, defaultStyleProvider, fillValue, fontName, fontsize, forecolor, horizontalAlignmentValue, 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_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, radius, rotationValue, scaleImageValue, stretchType, verticalAlignmentValuePROPERTY_EVALUATION_TIME_ENABLED| Constructor and Description |
|---|
JRDesignStyle() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConditionalStyle(int index,
JRConditionalStyle conditionalStyle) |
void |
addConditionalStyle(JRConditionalStyle conditionalStyle) |
java.lang.Object |
clone() |
java.util.List<JRConditionalStyle> |
getConditionalStyleList() |
JRConditionalStyle[] |
getConditionalStyles() |
boolean |
removeConditionalStyle(JRConditionalStyle conditionalStyle) |
void |
setDefault(boolean isDefault) |
void |
setName(java.lang.String name) |
void |
setParentStyle(JRStyle parentStyle) |
void |
setParentStyleNameReference(java.lang.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, getLineBox, getLinePen, getLineSpacingValue, getMarkup, getModeValue, getName, getOwnBackcolor, getOwnFillValue, getOwnFontName, getOwnFontsize, getOwnFontSize, getOwnForecolor, getOwnHorizontalAlignmentValue, getOwnLineSpacingValue, getOwnMarkup, getOwnModeValue, getOwnPattern, getOwnPdfEncoding, getOwnPdfFontName, getOwnRadius, getOwnRotationValue, getOwnScaleImageValue, getOwnVerticalAlignmentValue, getParagraph, getPattern, getPdfEncoding, getPdfFontName, getRadius, getRotationValue, getScaleImageValue, getStyle, getStyleNameReference, getVerticalAlignmentValue, 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, setItalic, setItalic, setLineSpacing, setMarkup, setMode, setPattern, setPdfEmbedded, setPdfEmbedded, setPdfEncoding, setPdfFontName, setRadius, setRadius, setRotation, setScaleImage, setStrikeThrough, setStrikeThrough, setUnderline, setUnderline, setVerticalAlignmentpublic static final java.lang.String PROPERTY_DEFAULT
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String PROPERTY_PARENT_STYLE
public static final java.lang.String PROPERTY_PARENT_STYLE_NAME_REFERENCE
public static final java.lang.String PROPERTY_CONDITIONAL_STYLES
public void setName(java.lang.String name)
public void setDefault(boolean isDefault)
public void setParentStyle(JRStyle parentStyle)
setParentStyle in class JRBaseStylepublic void addConditionalStyle(JRConditionalStyle conditionalStyle)
public void addConditionalStyle(int index,
JRConditionalStyle conditionalStyle)
public boolean removeConditionalStyle(JRConditionalStyle conditionalStyle)
public JRConditionalStyle[] getConditionalStyles()
getConditionalStyles in interface JRStylegetConditionalStyles in class JRBaseStylepublic java.util.List<JRConditionalStyle> getConditionalStyleList()
public void setParentStyleNameReference(java.lang.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 java.lang.Object clone()
clone in interface JRCloneableclone in class JRBaseStyle© 2001-2010 Jaspersoft Corporation www.jaspersoft.com