01: /*
02: * RowContainer.java
03: *
04: * Created on June 24, 2004, 10:53 AM
05: */
06:
07: package jimm.datavision.layout.excel;
08:
09: import java.util.*;
10:
11: import jimm.datavision.field.Field;
12:
13: /**
14: *
15: * @author dbeeler
16: */
17: public class RowContainer {
18:
19: public ArrayList reportFields;
20: public FieldMap parentMap;
21:
22: /** Creates a new instance of RowContainer */
23: public RowContainer(FieldMap ownerMap) {
24: reportFields = new ArrayList();
25: parentMap = ownerMap;
26: }
27:
28: public void addField(Field useField) {
29: reportFields.add(new PermField(useField));
30: parentMap.realignColumns();
31: }
32:
33: protected void finalize() {
34: reportFields.clear();
35:
36: }
37:
38: }
|