Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » converter » components » [javadoc | source]
org.jfree.report.modules.gui.converter.components
public class: OperationResultTableModel [javadoc | source]
java.lang.Object
   javax.swing.table.AbstractTableModel
      org.jfree.report.modules.gui.converter.components.OperationResultTableModel

All Implemented Interfaces:
    Serializable, TableModel

The operation result tablemodel is used to display the parser and converter results to the user.
Constructor:
 public OperationResultTableModel() 
 public OperationResultTableModel(OperationResult[] data) 
    Creates a new operation result table model which will be filled with the given data.
    Parameters:
    data - the operation result objects from the parser or writer.
Method from org.jfree.report.modules.gui.converter.components.OperationResultTableModel Summary:
getColumnClass,   getColumnCount,   getColumnName,   getRowCount,   getValueAt,   setData
Methods from javax.swing.table.AbstractTableModel:
addTableModelListener,   findColumn,   fireTableCellUpdated,   fireTableChanged,   fireTableDataChanged,   fireTableRowsDeleted,   fireTableRowsInserted,   fireTableRowsUpdated,   fireTableStructureChanged,   getColumnClass,   getColumnName,   getListeners,   getTableModelListeners,   isCellEditable,   removeTableModelListener,   setValueAt
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.converter.components.OperationResultTableModel Detail:
 public Class getColumnClass(int columnIndex) 
    Returns Object.class regardless of columnIndex.
 public int getColumnCount() 
    Returns the number of columns in the model. A JTable uses this method to determine how many columns it should create and display by default.
 public String getColumnName(int column) 
    Returns a default name for the column using spreadsheet conventions: A, B, C, ... Z, AA, AB, etc. If column cannot be found, returns an empty string.
 public int getRowCount() 
    Returns the number of rows in the model. A JTable uses this method to determine how many rows it should display. This method should be quick, as it is called frequently during rendering.
 public Object getValueAt(int rowIndex,
    int columnIndex) 
    Returns the value for the cell at columnIndex and rowIndex.
 public  void setData(OperationResult[] data) 
    Sets the data for the tablemodel.