Class FillItem
- java.lang.Object
-
- net.sf.jasperreports.components.items.fill.FillItem
-
- All Implemented Interfaces:
Cloneable
,Item
,JRCloneable
- Direct Known Subclasses:
FillPlaceItem
,FillResetMapItem
,FillStyleItem
public abstract class FillItem extends Object implements Item
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>
evaluatedProperties
protected FillContextProvider
fillContextProvider
protected Item
item
-
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 Object
clone()
void
evaluateProperties(JRFillExpressionEvaluator evaluator, byte evaluation)
Map<String,Object>
getEvaluatedProperties()
Object
getEvaluatedValue(ItemProperty property, JRFillExpressionEvaluator evaluator, byte evaluation)
List<ItemProperty>
getProperties()
Returns a list ofItemProperty
objects.abstract void
verifyValue(ItemProperty property, Object value)
abstract void
verifyValues(Map<String,Object> result)
-
-
-
Field Detail
-
item
protected Item item
-
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 Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getProperties
public List<ItemProperty> getProperties()
Description copied from interface:Item
Returns a list ofItemProperty
objects. Each item property provides a name-value pair.- Specified by:
getProperties
in interfaceItem
- Returns:
- a list of item properties
- See Also:
ItemProperty
-
getEvaluatedValue
public Object getEvaluatedValue(ItemProperty property, JRFillExpressionEvaluator evaluator, byte evaluation) throws JRException
- Throws:
JRException
-
verifyValue
public abstract void verifyValue(ItemProperty property, Object value) throws JRException
- Throws:
JRException
-
verifyValues
public abstract void verifyValues(Map<String,Object> result) throws JRException
- Throws:
JRException
-
-