Class QueriesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.pentaho.reporting.ui.datasources.cda.QueriesTableModel
- All Implemented Interfaces:
Serializable
,Cloneable
,TableModel
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(QueriesTableModel.QueryData query) void
clear()
clone()
get
(int index) Class<?>
getColumnClass
(int columnIndex) int
getColumnName
(int column) getName
(int row) getQuery
(int row) getQueryById
(String name) int
getValueAt
(int rowIndex, int columnIndex) boolean
isCellEditable
(int rowIndex, int columnIndex) void
setValueAt
(Object aValue, int rowIndex, int columnIndex) int
size()
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
QueriesTableModel
public QueriesTableModel()
-
-
Method Details
-
clone
-
add
-
size
public int size() -
get
-
getQueryById
-
clear
public void clear() -
getName
-
getQuery
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfaceTableModel
-
getValueAt
- Specified by:
getValueAt
in interfaceTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-