org.jcreme.reporting
Interface ModifiableReport

All Superinterfaces:
Report

public interface ModifiableReport
extends Report

This interface extends the Report framework. It enables to change the values in the report.

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $

Method Summary
 boolean isEditable(int row, int column)
          This method enables to determine if a value is modifiable in the Report.
 void setValueAt(java.lang.Object value, int row, int column)
          This method enables to change the value at the given row and column for this report.
 
Methods inherited from interface org.jcreme.reporting.Report
addReportChangeListener, clear, getColumnClass, getColumnCount, getColumnIndex, getColumnName, getColumnNames, getFilter, getRowCount, getTitle, getValueAt, removeReportChangeListener, setFilter
 

Method Detail

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int column)
                throws java.lang.IllegalArgumentException
This method enables to change the value at the given row and column for this report.

Parameters:
value - the value to put in the report for the particular row and the particular column.
row - the row for which we want to change the value.
column - the column for which we want to change the value.
Throws:
java.lang.IllegalArgumentException - if the value is not valid in the report at this column and row.

isEditable

public boolean isEditable(int row,
                          int column)
This method enables to determine if a value is modifiable in the Report.

Parameters:
row - the row for which we want to change the value.
column - the column for which we want to change the value.
Returns:
true is the value can be modified through setValueAt. False otherwise.


Copyright 2006 null. All Rights Reserved.