public final class JRStyleResolver
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
appendBox(JRLineBox destBox,
JRLineBox srcBox)
Merges two boxes, by appending the properties of the source box to the ones of the destination box.
|
static void |
appendParagraph(JRParagraph destParagraph,
JRParagraph srcParagraph)
Merges two paragraphs, by appending the properties of the source paragraph to the ones of the destination paragraph.
|
static void |
appendPen(JRPen destPen,
JRPen srcPen)
Merges two pens, by appending the properties of the source pen to the ones of the destination pen.
|
static void |
appendStyle(JRStyle destStyle,
JRStyle srcStyle)
Merges two styles, by appending the properties of the source style to the ones of the destination style.
|
static java.awt.Color |
getBackcolor(JRChartPlot plot) |
static java.awt.Color |
getBackcolor(JRCommonElement element) |
static java.awt.Color |
getBackcolor(JRStyle style) |
static JRStyle |
getBaseStyle(JRStyleContainer styleContainer) |
static java.lang.Integer |
getBottomPadding(JRLineBox box) |
static java.awt.Color |
getCategoryAxisLabelColor(JRCategoryAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getCategoryAxisLineColor(JRCategoryAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getCategoryAxisTickLabelColor(JRCategoryAxisFormat axisFormat,
JRChartPlot plot) |
static FillEnum |
getFillValue(JRCommonGraphicElement element) |
static FillEnum |
getFillValue(JRStyle style) |
static java.lang.Integer |
getFirstLineIndent(JRParagraph paragraph) |
static java.lang.String |
getFontName(JRFont font) |
static java.lang.String |
getFontName(JRStyle style) |
static float |
getFontsize(JRFont font) |
static int |
getFontSize(JRFont font)
Deprecated.
Replaced by
getFontsize(JRFont) . |
static java.lang.Float |
getFontsize(JRStyle style) |
static java.lang.Integer |
getFontSize(JRStyle style)
Deprecated.
Replaced by
getFontsize(JRStyle) . |
static java.awt.Color |
getForecolor(JRChartPlot plot) |
static java.awt.Color |
getForecolor(JRCommonElement element) |
static java.awt.Color |
getForecolor(JRStyle style) |
static HorizontalAlignEnum |
getHorizontalAlignmentValue(JRAlignment alignment)
Deprecated.
|
static HorizontalAlignEnum |
getHorizontalAlignmentValue(JRStyle style)
Deprecated.
Replaced by
getHorizontalTextAlign(JRStyle) and getHorizontalImageAlign(JRStyle) . |
static HorizontalImageAlignEnum |
getHorizontalImageAlign(JRImageAlignment alignment) |
static HorizontalImageAlignEnum |
getHorizontalImageAlign(JRStyle style) |
static HorizontalTextAlignEnum |
getHorizontalTextAlign(JRStyle style) |
static HorizontalTextAlignEnum |
getHorizontalTextAlign(JRTextAlignment alignment) |
static java.lang.Integer |
getLeftIndent(JRParagraph paragraph) |
static java.lang.Integer |
getLeftPadding(JRLineBox box) |
static java.awt.Color |
getLegendBackgroundColor(JRChart chart) |
static java.awt.Color |
getLegendColor(JRChart chart) |
static java.awt.Color |
getLineColor(JRBoxPen boxPen,
java.awt.Color defaultColor) |
static java.awt.Color |
getLineColor(JRPen pen,
java.awt.Color defaultColor) |
static LineSpacingEnum |
getLineSpacing(JRParagraph paragraph) |
static java.lang.Float |
getLineSpacingSize(JRParagraph paragraph) |
static LineSpacingEnum |
getLineSpacingValue(JRCommonText element)
Deprecated.
Replaced by
getLineSpacing(JRParagraph) . |
static LineSpacingEnum |
getLineSpacingValue(JRStyle style)
Deprecated.
Replaced by
getLineSpacing(JRParagraph) . |
static LineStyleEnum |
getLineStyleValue(JRBoxPen boxPen) |
static LineStyleEnum |
getLineStyleValue(JRPen pen) |
static java.lang.Float |
getLineWidth(JRBoxPen boxPen,
java.lang.Float defaultLineWidth) |
static java.lang.Float |
getLineWidth(JRPen pen,
java.lang.Float defaultLineWidth) |
static java.lang.String |
getMarkup(JRCommonText element) |
static java.lang.String |
getMarkup(JRStyle style) |
static ModeEnum |
getMode(JRCommonElement element,
ModeEnum defaultMode) |
static ModeEnum |
getModeValue(JRStyle style) |
static java.lang.Integer |
getPadding(JRLineBox box) |
static java.lang.String |
getPattern(JRStyle style) |
static java.lang.String |
getPattern(JRTextField element) |
static java.lang.String |
getPdfEncoding(JRFont font) |
static java.lang.String |
getPdfEncoding(JRStyle style) |
static java.lang.String |
getPdfFontName(JRFont font) |
static java.lang.String |
getPdfFontName(JRStyle style) |
static int |
getRadius(JRCommonRectangle rectangle) |
static java.lang.Integer |
getRadius(JRStyle style) |
static java.lang.Integer |
getRightIndent(JRParagraph paragraph) |
static java.lang.Integer |
getRightPadding(JRLineBox box) |
static RotationEnum |
getRotationValue(JRCommonText element) |
static RotationEnum |
getRotationValue(JRStyle style) |
static ScaleImageEnum |
getScaleImageValue(JRCommonImage image) |
static ScaleImageEnum |
getScaleImageValue(JRStyle style) |
static java.lang.Integer |
getSpacingAfter(JRParagraph paragraph) |
static java.lang.Integer |
getSpacingBefore(JRParagraph paragraph) |
static java.awt.Color |
getSubtitleColor(JRChart chart) |
static TabStop[] |
getTabStops(JRParagraph paragraph) |
static java.lang.Integer |
getTabStopWidth(JRParagraph paragraph) |
static java.awt.Color |
getTimeAxisLabelColor(JRTimeAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getTimeAxisLineColor(JRTimeAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getTimeAxisTickLabelColor(JRTimeAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getTitleColor(JRChart chart) |
static java.lang.Integer |
getTopPadding(JRLineBox box) |
static java.awt.Color |
getValueAxisLabelColor(JRValueAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getValueAxisLineColor(JRValueAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getValueAxisTickLabelColor(JRValueAxisFormat axisFormat,
JRChartPlot plot) |
static java.lang.Byte |
getVerticalAlignment(JRStyle style)
Deprecated.
To be removed.
|
static VerticalAlignEnum |
getVerticalAlignmentValue(JRAlignment alignment)
Deprecated.
|
static VerticalAlignEnum |
getVerticalAlignmentValue(JRStyle style)
Deprecated.
Replaced by
getVerticalTextAlign(JRStyle) and getVerticalImageAlign(JRStyle) . |
static VerticalImageAlignEnum |
getVerticalImageAlign(JRImageAlignment alignment) |
static VerticalImageAlignEnum |
getVerticalImageAlign(JRStyle style) |
static VerticalTextAlignEnum |
getVerticalTextAlign(JRStyle style) |
static VerticalTextAlignEnum |
getVerticalTextAlign(JRTextAlignment alignment) |
static java.awt.Color |
getXAxisLabelColor(JRXAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getXAxisLineColor(JRXAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getXAxisTickLabelColor(JRXAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getYAxisLabelColor(JRYAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getYAxisLineColor(JRYAxisFormat axisFormat,
JRChartPlot plot) |
static java.awt.Color |
getYAxisTickLabelColor(JRYAxisFormat axisFormat,
JRChartPlot plot) |
static java.lang.Boolean |
isBlankWhenNull(JRStyle style) |
static boolean |
isBlankWhenNull(JRTextField element) |
static boolean |
isBold(JRFont font) |
static java.lang.Boolean |
isBold(JRStyle style) |
static boolean |
isItalic(JRFont font) |
static java.lang.Boolean |
isItalic(JRStyle style) |
static boolean |
isPdfEmbedded(JRFont font) |
static java.lang.Boolean |
isPdfEmbedded(JRStyle style) |
static boolean |
isStrikeThrough(JRFont font) |
static java.lang.Boolean |
isStrikeThrough(JRStyle style) |
static boolean |
isUnderline(JRFont font) |
static java.lang.Boolean |
isUnderline(JRStyle style) |
public static JRStyle getBaseStyle(JRStyleContainer styleContainer)
public static ModeEnum getMode(JRCommonElement element, ModeEnum defaultMode)
public static java.awt.Color getForecolor(JRCommonElement element)
public static java.awt.Color getForecolor(JRChartPlot plot)
public static java.awt.Color getForecolor(JRStyle style)
public static java.awt.Color getBackcolor(JRCommonElement element)
public static java.awt.Color getBackcolor(JRChartPlot plot)
public static java.awt.Color getBackcolor(JRStyle style)
public static java.lang.Float getLineWidth(JRPen pen, java.lang.Float defaultLineWidth)
public static java.lang.Float getLineWidth(JRBoxPen boxPen, java.lang.Float defaultLineWidth)
public static LineStyleEnum getLineStyleValue(JRPen pen)
public static LineStyleEnum getLineStyleValue(JRBoxPen boxPen)
public static java.awt.Color getLineColor(JRPen pen, java.awt.Color defaultColor)
public static java.awt.Color getLineColor(JRBoxPen boxPen, java.awt.Color defaultColor)
public static FillEnum getFillValue(JRCommonGraphicElement element)
public static int getRadius(JRCommonRectangle rectangle)
public static java.lang.Integer getRadius(JRStyle style)
public static ScaleImageEnum getScaleImageValue(JRCommonImage image)
public static ScaleImageEnum getScaleImageValue(JRStyle style)
public static HorizontalAlignEnum getHorizontalAlignmentValue(JRAlignment alignment)
getHorizontalTextAlign(JRTextAlignment)
and getHorizontalImageAlign(JRImageAlignment)
.public static HorizontalTextAlignEnum getHorizontalTextAlign(JRTextAlignment alignment)
public static HorizontalImageAlignEnum getHorizontalImageAlign(JRImageAlignment alignment)
public static HorizontalAlignEnum getHorizontalAlignmentValue(JRStyle style)
public static HorizontalTextAlignEnum getHorizontalTextAlign(JRStyle style)
public static HorizontalImageAlignEnum getHorizontalImageAlign(JRStyle style)
public static VerticalAlignEnum getVerticalAlignmentValue(JRAlignment alignment)
getVerticalTextAlign(JRTextAlignment)
and getVerticalImageAlign(JRImageAlignment)
.public static VerticalTextAlignEnum getVerticalTextAlign(JRTextAlignment alignment)
public static VerticalImageAlignEnum getVerticalImageAlign(JRImageAlignment alignment)
public static java.lang.Byte getVerticalAlignment(JRStyle style)
public static VerticalAlignEnum getVerticalAlignmentValue(JRStyle style)
public static VerticalTextAlignEnum getVerticalTextAlign(JRStyle style)
public static VerticalImageAlignEnum getVerticalImageAlign(JRStyle style)
public static java.lang.Float getLineSpacingSize(JRParagraph paragraph)
public static java.lang.Integer getFirstLineIndent(JRParagraph paragraph)
public static java.lang.Integer getLeftIndent(JRParagraph paragraph)
public static java.lang.Integer getRightIndent(JRParagraph paragraph)
public static java.lang.Integer getSpacingBefore(JRParagraph paragraph)
public static java.lang.Integer getSpacingAfter(JRParagraph paragraph)
public static java.lang.Integer getTabStopWidth(JRParagraph paragraph)
public static TabStop[] getTabStops(JRParagraph paragraph)
public static RotationEnum getRotationValue(JRCommonText element)
public static RotationEnum getRotationValue(JRStyle style)
public static LineSpacingEnum getLineSpacingValue(JRCommonText element)
getLineSpacing(JRParagraph)
.public static LineSpacingEnum getLineSpacingValue(JRStyle style)
getLineSpacing(JRParagraph)
.public static LineSpacingEnum getLineSpacing(JRParagraph paragraph)
public static java.lang.String getMarkup(JRCommonText element)
public static java.lang.String getMarkup(JRStyle style)
public static java.lang.String getPattern(JRTextField element)
public static java.lang.String getPattern(JRStyle style)
public static boolean isBlankWhenNull(JRTextField element)
public static java.lang.Boolean isBlankWhenNull(JRStyle style)
public static java.lang.String getFontName(JRFont font)
public static java.lang.String getFontName(JRStyle style)
public static boolean isBold(JRFont font)
public static java.lang.Boolean isBold(JRStyle style)
public static boolean isItalic(JRFont font)
public static java.lang.Boolean isItalic(JRStyle style)
public static boolean isUnderline(JRFont font)
public static java.lang.Boolean isUnderline(JRStyle style)
public static boolean isStrikeThrough(JRFont font)
public static java.lang.Boolean isStrikeThrough(JRStyle style)
public static float getFontsize(JRFont font)
public static java.lang.Float getFontsize(JRStyle style)
public static int getFontSize(JRFont font)
getFontsize(JRFont)
.public static java.lang.Integer getFontSize(JRStyle style)
getFontsize(JRStyle)
.public static java.lang.String getPdfFontName(JRFont font)
public static java.lang.String getPdfFontName(JRStyle style)
public static java.lang.String getPdfEncoding(JRFont font)
public static java.lang.String getPdfEncoding(JRStyle style)
public static boolean isPdfEmbedded(JRFont font)
public static java.lang.Boolean isPdfEmbedded(JRStyle style)
public static java.lang.Integer getPadding(JRLineBox box)
public static java.lang.Integer getTopPadding(JRLineBox box)
public static java.lang.Integer getLeftPadding(JRLineBox box)
public static java.lang.Integer getBottomPadding(JRLineBox box)
public static java.lang.Integer getRightPadding(JRLineBox box)
public static void appendStyle(JRStyle destStyle, JRStyle srcStyle)
public static void appendPen(JRPen destPen, JRPen srcPen)
public static void appendBox(JRLineBox destBox, JRLineBox srcBox)
public static void appendParagraph(JRParagraph destParagraph, JRParagraph srcParagraph)
public static java.awt.Color getTitleColor(JRChart chart)
public static java.awt.Color getSubtitleColor(JRChart chart)
public static java.awt.Color getLegendColor(JRChart chart)
public static java.awt.Color getLegendBackgroundColor(JRChart chart)
public static java.awt.Color getCategoryAxisLabelColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getCategoryAxisTickLabelColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getCategoryAxisLineColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getValueAxisLabelColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getValueAxisTickLabelColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getValueAxisLineColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getXAxisLabelColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getXAxisTickLabelColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getXAxisLineColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getYAxisLabelColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getYAxisTickLabelColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getYAxisLineColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getTimeAxisLabelColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getTimeAxisTickLabelColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
public static java.awt.Color getTimeAxisLineColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com