Class FillItem
- java.lang.Object
-
- net.sf.jasperreports.components.items.fill.FillItem
-
- All Implemented Interfaces:
java.lang.Cloneable,Item,JRCloneable
- Direct Known Subclasses:
FillPlaceItem,FillResetMapItem,FillStyleItem
public abstract class FillItem extends java.lang.Object implements Item
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>evaluatedPropertiesprotected FillContextProviderfillContextProviderprotected Itemitem
-
Constructor Summary
Constructors Constructor Description FillItem(FillContextProvider fillContextProvider, Item item, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()voidevaluateProperties(JRFillExpressionEvaluator evaluator, byte evaluation)java.util.Map<java.lang.String,java.lang.Object>getEvaluatedProperties()java.lang.ObjectgetEvaluatedValue(ItemProperty property, JRFillExpressionEvaluator evaluator, byte evaluation)java.util.List<ItemProperty>getProperties()Returns a list ofItemPropertyobjects.abstract voidverifyValue(ItemProperty property, java.lang.Object value)abstract voidverifyValues(java.util.Map<java.lang.String,java.lang.Object> result)
-
-
-
Field Detail
-
item
protected Item item
-
evaluatedProperties
protected java.util.Map<java.lang.String,java.lang.Object> evaluatedProperties
-
fillContextProvider
protected FillContextProvider fillContextProvider
-
-
Constructor Detail
-
FillItem
public FillItem(FillContextProvider fillContextProvider, Item item, JRFillObjectFactory factory)
-
-
Method Detail
-
evaluateProperties
public void evaluateProperties(JRFillExpressionEvaluator evaluator, byte evaluation) throws JRException
- Throws:
JRException
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
getProperties
public java.util.List<ItemProperty> getProperties()
Description copied from interface:ItemReturns a list ofItemPropertyobjects. Each item property provides a name-value pair.- Specified by:
getPropertiesin interfaceItem- Returns:
- a list of item properties
- See Also:
ItemProperty
-
getEvaluatedProperties
public java.util.Map<java.lang.String,java.lang.Object> getEvaluatedProperties()
-
getEvaluatedValue
public java.lang.Object getEvaluatedValue(ItemProperty property, JRFillExpressionEvaluator evaluator, byte evaluation) throws JRException
- Throws:
JRException
-
verifyValue
public abstract void verifyValue(ItemProperty property, java.lang.Object value) throws JRException
- Throws:
JRException
-
verifyValues
public abstract void verifyValues(java.util.Map<java.lang.String,java.lang.Object> result) throws JRException- Throws:
JRException
-
-