com.fdsapi
Class DataSetCell

java.lang.Object
  |
  +--com.fdsapi.DataSet
        |
        +--com.fdsapi.DataSetCellBase
              |
              +--com.fdsapi.DataSetCell
All Implemented Interfaces:
java.lang.Cloneable

public class DataSetCell
extends DataSetCellBase

Used to display TabularData cells. This class is part of the DataSet classes used to display FormattedDataSets.



View Code


Field Summary
 
Fields inherited from class com.fdsapi.DataSet
dataSetParm, templateTagType, variables
 
Constructor Summary
protected DataSetCell()
           
 
Method Summary
 DataSet createFactoryInstance()
          Factory method that creates a new DataSetCell object
 void execute(int y)
          Method that appends a TabularData cell to the FormattedDataSet text buffer for output.
 
Methods inherited from class com.fdsapi.DataSetCellBase
createDataIterator, getIncrementData, getType
 
Methods inherited from class com.fdsapi.DataSet
clone, createFactoryInstance, execute, getCellData, getDataSetParm, getMiscDataMap, getStringBuffer, getTabularData, getTemplateVariables, getVariableValue, initialize, log, next, setDataSetParm, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetCell

protected DataSetCell()
Method Detail

createFactoryInstance

public DataSet createFactoryInstance()
Factory method that creates a new DataSetCell object

Specified by:
createFactoryInstance in class DataSet

execute

public void execute(int y)

Method that appends a TabularData cell to the FormattedDataSet text buffer for output. The index y represents the yth column of the current row of TabularData with indexing starting at 1 (not 0).

For example if the data was String[][] arr={{"(1,1)", "(1,2)"},{"(2,1)", "(2,2)"},};
and the current fow was 1 then execute(2) would concatenate "(1,2" to the buffer.

Specified by:
execute in class DataSet