Class PropertyStyleProvider
- java.lang.Object
-
- net.sf.jasperreports.engine.style.PropertyStyleProvider
-
- All Implemented Interfaces:
StyleProvider
public class PropertyStyleProvider extends Object implements StyleProvider
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PropertyStyleProvider(StyleProviderContext context, Map<String,JRPropertyExpression> stylePropertyExpressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getFields()
JRStyle
getStyle(byte evaluation)
Returns a style.String[]
getVariables()
-
-
-
Field Detail
-
STYLE_PROPERTY_PREFIX
public static final String STYLE_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PEN_PREFIX
public static final String STYLE_PROPERTY_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PREFIX
public static final String STYLE_PROPERTY_BOX_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PEN_PREFIX
public static final String STYLE_PROPERTY_BOX_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_LEFT_PEN_PREFIX
public static final String STYLE_PROPERTY_BOX_LEFT_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_TOP_PEN_PREFIX
public static final String STYLE_PROPERTY_BOX_TOP_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_RIGHT_PEN_PREFIX
public static final String STYLE_PROPERTY_BOX_RIGHT_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_BOTTOM_PEN_PREFIX
public static final String STYLE_PROPERTY_BOX_BOTTOM_PEN_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PARAGRAPH_PREFIX
public static final String STYLE_PROPERTY_PARAGRAPH_PREFIX
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_MODE
public static final String STYLE_PROPERTY_MODE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BACKCOLOR
public static final String STYLE_PROPERTY_BACKCOLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FORECOLOR
public static final String STYLE_PROPERTY_FORECOLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FILL
public static final String STYLE_PROPERTY_FILL
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_RADIUS
public static final String STYLE_PROPERTY_RADIUS
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_SCALE_IMAGE
public static final String STYLE_PROPERTY_SCALE_IMAGE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_H_TEXT_ALIGN
public static final String STYLE_PROPERTY_H_TEXT_ALIGN
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_H_IMAGE_ALIGN
public static final String STYLE_PROPERTY_H_IMAGE_ALIGN
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_V_TEXT_ALIGN
public static final String STYLE_PROPERTY_V_TEXT_ALIGN
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_V_IMAGE_ALIGN
public static final String STYLE_PROPERTY_V_IMAGE_ALIGN
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_ROTATION
public static final String STYLE_PROPERTY_ROTATION
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_MARKUP
public static final String STYLE_PROPERTY_MARKUP
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PATTERN
public static final String STYLE_PROPERTY_PATTERN
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BLANK_WHEN_NULL
public static final String STYLE_PROPERTY_BLANK_WHEN_NULL
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_NAME
public static final String STYLE_PROPERTY_FONT_NAME
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_SIZE
public static final String STYLE_PROPERTY_FONT_SIZE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_BOLD
public static final String STYLE_PROPERTY_FONT_BOLD
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_ITALIC
public static final String STYLE_PROPERTY_FONT_ITALIC
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_UNDERLINE
public static final String STYLE_PROPERTY_FONT_UNDERLINE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FONT_STRIKETHROUGH
public static final String STYLE_PROPERTY_FONT_STRIKETHROUGH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PDF_FONT_NAME
public static final String STYLE_PROPERTY_PDF_FONT_NAME
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PDF_ENCODING
public static final String STYLE_PROPERTY_PDF_ENCODING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PDF_EMBEDDED
public static final String STYLE_PROPERTY_PDF_EMBEDDED
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PADDING
public static final String STYLE_PROPERTY_BOX_PADDING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_TOP_PADDING
public static final String STYLE_PROPERTY_BOX_TOP_PADDING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_LEFT_PADDING
public static final String STYLE_PROPERTY_BOX_LEFT_PADDING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_RIGHT_PADDING
public static final String STYLE_PROPERTY_BOX_RIGHT_PADDING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_BOTTOM_PADDING
public static final String STYLE_PROPERTY_BOX_BOTTOM_PADDING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_BOX_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_BOX_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_BOX_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_LEFT_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_BOX_LEFT_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_LEFT_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_BOX_LEFT_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_LEFT_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_BOX_LEFT_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_TOP_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_BOX_TOP_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_TOP_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_BOX_TOP_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_TOP_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_BOX_TOP_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_BOX_RIGHT_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_WIDTH
public static final String STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_WIDTH
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_STYLE
public static final String STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_STYLE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_COLOR
public static final String STYLE_PROPERTY_BOX_BOTTOM_PEN_LINE_COLOR
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_LINE_SPACING
public static final String STYLE_PROPERTY_LINE_SPACING
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_LINE_SPACING_SIZE
public static final String STYLE_PROPERTY_LINE_SPACING_SIZE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_FIRST_LINE_INDENT
public static final String STYLE_PROPERTY_FIRST_LINE_INDENT
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_LEFT_INDENT
public static final String STYLE_PROPERTY_LEFT_INDENT
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_RIGHT_INDENT
public static final String STYLE_PROPERTY_RIGHT_INDENT
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_SPACING_BEFORE
public static final String STYLE_PROPERTY_SPACING_BEFORE
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_SPACING_AFTER
public static final String STYLE_PROPERTY_SPACING_AFTER
- See Also:
- Constant Field Values
-
STYLE_PROPERTY_TABSTOP_WIDTH
public static final String STYLE_PROPERTY_TABSTOP_WIDTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PropertyStyleProvider
public PropertyStyleProvider(StyleProviderContext context, Map<String,JRPropertyExpression> stylePropertyExpressions)
-
-
Method Detail
-
getStyle
public JRStyle getStyle(byte evaluation)
Description copied from interface:StyleProvider
Returns a style.- Specified by:
getStyle
in interfaceStyleProvider
-
getFields
public String[] getFields()
- Specified by:
getFields
in interfaceStyleProvider
-
getVariables
public String[] getVariables()
- Specified by:
getVariables
in interfaceStyleProvider
-
-