Package repast.simphony.data2.wizard
Class SimpleMethodTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- repast.simphony.data2.wizard.SimpleMethodTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
public class SimpleMethodTableModel extends AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description SimpleMethodTableModel(Iterable<MethodDataSourceDefinition> defs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMethodDataSource(MethodDataSourceDefinition def)
void
apply(DataSetDescriptor descriptor)
Class<?>
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
int
getRowCount()
Object
getValueAt(int row, int col)
boolean
isCellEditable(int rowIndex, int columnIndex)
void
removeItem(int row)
void
setValueAt(Object aValue, int rowIndex, int columnIndex)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
SimpleMethodTableModel
public SimpleMethodTableModel(Iterable<MethodDataSourceDefinition> defs)
-
-
Method Detail
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
public Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getValueAt
public Object getValueAt(int row, int col)
-
addMethodDataSource
public void addMethodDataSource(MethodDataSourceDefinition def)
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
removeItem
public void removeItem(int row)
-
apply
public void apply(DataSetDescriptor descriptor)
-
-