|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.states.LengthLimitingTableModel
public class LengthLimitingTableModel
Todo: Document Me
| Constructor Summary | |
|---|---|
LengthLimitingTableModel(TableModel backend,
int queryLimit)
|
|
| Method Summary | |
|---|---|
void |
addTableModelListener(TableModelListener l)
|
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 columnIndex)
|
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. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
void |
removeTableModelListener(TableModelListener l)
|
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LengthLimitingTableModel(TableModel backend,
int queryLimit)
| Method Detail |
|---|
public int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic Class getColumnClass(int columnIndex)
getColumnClass in interface TableModel
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModel
public Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface TableModel
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface TableModelpublic void addTableModelListener(TableModelListener l)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener l)
removeTableModelListener in interface TableModel
public DataAttributes getCellDataAttributes(int row,
int column)
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()
getTableAttributes in interface MetaTableModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||