Class CrosstabDetailTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.pentaho.reporting.designer.core.editor.crosstab.CrosstabDetailTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
,org.pentaho.reporting.libraries.designtime.swing.bulk.BulkDataProvider
,org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
public class CrosstabDetailTableModel extends AbstractTableModel implements org.pentaho.reporting.libraries.designtime.swing.bulk.BulkDataProvider, org.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description CrosstabDetailTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int idx, org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail item)
void
add(org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail o)
void
clear()
org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail
get(int index)
Object[]
getBulkData()
int
getBulkDataSize()
Class
getClassForCell(int row, int col)
Class
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
PropertyEditor
getEditorForCell(int row, int column)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int rowIndex, int columnIndex)
void
remove(int index)
void
setBulkData(Object[] data)
void
setData(org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail[] data)
void
setValueAt(Object value, int rowIndex, int columnIndex)
int
size()
org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail[]
toArray()
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, removeTableModelListener
-
-
-
-
Method Detail
-
setData
public void setData(org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail[] data)
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableModel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTableModel
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
- Specified by:
getValueAt
in interfaceTableModel
-
setValueAt
public void setValueAt(Object value, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
add
public void add(org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail o)
-
add
public void add(int idx, org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail item)
-
get
public org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail get(int index)
-
remove
public void remove(int index)
-
clear
public void clear()
-
toArray
public org.pentaho.reporting.engine.classic.core.elementfactory.CrosstabDetail[] toArray()
-
size
public int size()
-
getBulkDataSize
public int getBulkDataSize()
- Specified by:
getBulkDataSize
in interfaceorg.pentaho.reporting.libraries.designtime.swing.bulk.BulkDataProvider
-
getBulkData
public Object[] getBulkData()
- Specified by:
getBulkData
in interfaceorg.pentaho.reporting.libraries.designtime.swing.bulk.BulkDataProvider
-
setBulkData
public void setBulkData(Object[] data)
- Specified by:
setBulkData
in interfaceorg.pentaho.reporting.libraries.designtime.swing.bulk.BulkDataProvider
-
getClassForCell
public Class getClassForCell(int row, int col)
- Specified by:
getClassForCell
in interfaceorg.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
-
getEditorForCell
public PropertyEditor getEditorForCell(int row, int column)
- Specified by:
getEditorForCell
in interfaceorg.pentaho.reporting.libraries.designtime.swing.table.PropertyTableModel
-
-