net.sf.jasperreports.components.map.fill

## Class FillItemDataset

- java.lang.Object
- - net.sf.jasperreports.engine.fill.JRFillElementDataset
  - - net.sf.jasperreports.components.map.fill.FillItemDataset

- All Implemented Interfaces:
    java.lang.Cloneable, JRCloneable, JRElementDataset

      public class FillItemDataset
      extends JRFillElementDataset

  Version:
    $Id: FillItemDataset.java 6002 2013-03-20 08:15:32Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected byte` | `evaluation`
    `protected JRFillExpressionEvaluator` | `evaluator`
    `protected FillItemData` | `itemData`

    - ### Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset

      `datasetRun, incrementGroup, parent, resetGroup`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FillItemDataset(FillItemData itemData, JRFillObjectFactory factory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `collectExpressions(JRExpressionCollector collector)`
    `protected void` | `customEvaluate(JRCalculator calculator)` Evaluates the expressions associated with the dataset.
    `protected void` | `customIncrement()` Increments the dataset by collecting the result of the expression evaluation.
    `protected void` | `customInitialize()` Initializes the element dataset.
    `byte` | `getEvaluation()`
    `void` | `increment()`
    `void` | `setEvaluation(byte evaluation)`

    - ### Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset

      `clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getFillDataset, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getResetGroup, getResetTypeValue, getTimeZone, initialize, setBand`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### itemData

          protected final FillItemData itemData

    - #### evaluator

          protected JRFillExpressionEvaluator evaluator

    - #### evaluation

          protected byte evaluation

  - ### Constructor Detail

    - #### FillItemDataset

          public FillItemDataset(FillItemData itemData,
                         JRFillObjectFactory factory)

  - ### Method Detail

    - #### customEvaluate

          protected void customEvaluate(JRCalculator calculator)
                                 throws JRExpressionEvalException

      Description copied from class: `JRFillElementDataset`
      Evaluates the expressions associated with the dataset.

      Usually, the result of the evaluation would be preserved so that it is used in `JRFillElementDataset.customIncrement()`

      Specified by:
        `customEvaluate` in class `JRFillElementDataset`
      Parameters:
        `calculator` - used to evaluate expressions
      Throws:
        `JRExpressionEvalException` - any exception that occurs while evaluating expressions

    - #### customIncrement

          protected void customIncrement()

      Description copied from class: `JRFillElementDataset`
      Increments the dataset by collecting the result of the expression evaluation.
      Specified by:
        `customIncrement` in class `JRFillElementDataset`

    - #### customInitialize

          protected void customInitialize()

      Description copied from class: `JRFillElementDataset`
      Initializes the element dataset.

      The dataset is initialized before being used and after each time the dataset gets reset.

      Specified by:
        `customInitialize` in class `JRFillElementDataset`
      See Also:
        `JRFillElementDataset.getResetTypeValue()`

    - #### collectExpressions

          public void collectExpressions(JRExpressionCollector collector)

    - #### increment

          public void increment()

      Overrides:
        `increment` in class `JRFillElementDataset`

    - #### getEvaluation

          public byte getEvaluation()

      Returns:
        the evaluation

    - #### setEvaluation

          public void setEvaluation(byte evaluation)

      Parameters:
        `evaluation` - the evaluation to set

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com