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>
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 java.lang.Object
clone()
void
evaluateProperties(JRFillExpressionEvaluator evaluator, byte evaluation)
java.util.Map<java.lang.String,java.lang.Object>
getEvaluatedProperties()
java.lang.Object
getEvaluatedValue(ItemProperty property, JRFillExpressionEvaluator evaluator, byte evaluation)
java.util.List<ItemProperty>
getProperties()
Returns a list ofItemProperty
objects.abstract void
verifyValue(ItemProperty property, java.lang.Object value)
abstract void
verifyValues(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:
clone
in interfaceJRCloneable
- Overrides:
clone
in classjava.lang.Object
-
getProperties
public java.util.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
-
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
-
-