}
}
public void setValueAt(final Object value, final int rowIndex, final int columnIndex)
{
final CrosstabDimension crosstabDimension = get(rowIndex);
switch (columnIndex)
{
case 1:
crosstabDimension.setTitle((String) value);
break;
case 2:
if (value != null)
{
crosstabDimension.setPrintSummary((Boolean) value);
}
else
{
crosstabDimension.setPrintSummary(false);
}
break;
case 3:
crosstabDimension.setSummaryTitle((String) value);
break;
default:
throw new IllegalStateException();
}
data.set(rowIndex, crosstabDimension);