|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.pentaho.reporting.engine.classic.core.cache.CachableTableModel
public class CachableTableModel
Todo: Document me!
Date: 19.01.11 Time: 10:12
| Constructor Summary | |
|---|---|
CachableTableModel(TableModel model)
|
|
| Method Summary | |
|---|---|
DataAttributes |
getCellDataAttributes(int row,
int column)
Returns the meta-attribute as Java-Object. |
DataAttributes |
getColumnAttributes(int column)
Returns the column-level attributes for the given column. |
Class |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
|
String |
getColumnName(int column)
|
int |
getRowCount()
|
DataAttributes |
getTableAttributes()
Returns table-wide attributes. |
Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCellDataAttributesSupported()
Checks, whether cell-data attributes are supported by this tablemodel implementation. |
static boolean |
isSafeToCache(TableModel model)
|
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt |
| Constructor Detail |
|---|
public CachableTableModel(TableModel model)
| Method Detail |
|---|
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Class getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModel
public DataAttributes getCellDataAttributes(int row,
int column)
MetaTableModel
getCellDataAttributes in interface MetaTableModelrow - the row of the cell for which the meta-data is queried.column - the index of the column for which the meta-data is queried.
public boolean isCellDataAttributesSupported()
MetaTableModel
isCellDataAttributesSupported in interface MetaTableModelpublic DataAttributes getColumnAttributes(int column)
MetaTableModel
getColumnAttributes in interface MetaTableModelcolumn - the column.
public DataAttributes getTableAttributes()
MetaTableModel
getTableAttributes in interface MetaTableModelpublic int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModel
public Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface TableModelpublic static boolean isSafeToCache(TableModel model)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||