com.fdsapi
Class DataSetCol
java.lang.Object
|
+--com.fdsapi.DataSet
|
+--com.fdsapi.DataSetDecorator
|
+--com.fdsapi.DataSetCol
- All Implemented Interfaces:
- java.lang.Cloneable
- public class DataSetCol
- extends DataSetDecorator
DataSet used for columns.
View Code
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataSetCol
protected DataSetCol()
createFactoryInstance
public DataSet createFactoryInstance()
- Description copied from class:
DataSet
- A Factory method that creates a clone of this DataSet (see gang of 4 "Factory method" pattern).
This allows the type of DataSet to be determined at runtime.
- Overrides:
createFactoryInstance in class DataSetDecorator
setDataSetParm
public void setDataSetParm(DataSetParm dsp)
- DataSetCol uses the DataIterator from all of its member DataSets to figure out how to
iterate through itself. Due to this fact all member DataSets must have their DataIterators created before
the DataSetCol can. At the time this code was written the ancestor class assumed the opposite of this,
so the code below does not call super.setDataSetParm(dsp). This is a little ugly and so could use refactoring.
- Overrides:
setDataSetParm in class DataSetDecorator
createDataIterator
public DataIterator createDataIterator()
- Description copied from class:
DataSet
- Iterator factory method
- Overrides:
createDataIterator in class DataSet
next
public boolean next(int x,
int y)
- Overrides:
next in class DataSetDecorator