public boolean[] getColumnInsertability() { boolean[] result = new boolean[getColumnSpan()]; int i = 0; Iterator iter = getColumnIterator(); while (iter.hasNext()) { Selectable s = (Selectable) iter.next(); result[i++] = !s.isFormula(); } return result; }
public void addColumns(Iterator columnIterator) { while (columnIterator.hasNext()) { Selectable col = (Selectable) columnIterator.next(); if (!col.isFormula()) addColumn((Column) col); } }