Class MethodParameterDataModel
java.lang.Object
javax.swing.table.AbstractTableModel
microsim.gui.probe.MethodParameterDataModel
- All Implemented Interfaces:
Serializable, TableModel
Not of interest for users.
A data model used to collect input parameters of a method.
It is used by the table of the MethodDialog frame.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002 Michele Sonnessa
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.- Author:
- Michele Sonnessa
- See Also:
-
Field Summary
Fields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetHeaderText(int column) getObjectAtRow(int row) getObjectNameAtRow(int row) Object[]intgetValueAt(int row, int col) booleanisCellEditable(int row, int col) voidsetValueAt(Object val, int row, int col) voidupdate()Methods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
MethodParameterDataModel
-
-
Method Details
-
update
public void update() -
getHeaderText
-
getColumnCount
public int getColumnCount() -
getValueAt
-
getRowCount
public int getRowCount() -
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getParams
-
getObjectAtRow
-
getObjectNameAtRow
-
isCellEditable
public boolean isCellEditable(int row, int col) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getProbedObject
-