net.sf.plb4jedit.filelocator
Class MapTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
net.sf.plb4jedit.filelocator.MapTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- public class MapTableModel
- extends AbstractTableModel
A table model that provides editing of map configurations
- Author:
- Bernhard Krickl
V.0.01 $Log: MapTableModel.java,v $
V.0.01 Revision 1.1 2003/11/04 17:40:31 skopp
V.0.01 checked in subprojects + sources
V.0.01
V.0.01 Revision 1.1 2002/05/08 15:02:31 krickl
V.0.01 A table model that provides editing of map configurations
V.0.01
- See Also:
- Serialized Form
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 |
MapTableModel
public MapTableModel(Vector newMapConfigs)
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
- returns the number of currently available MapConfigs plus one
to produce an empty line. The empty line is necessary to be able
to insert new lines.
getColumnClass
public Class getColumnClass(int col)
getValueAt
public Object getValueAt(int row,
int col)
isCellEditable
public boolean isCellEditable(int row,
int col)
setValueAt
public void setValueAt(Object valueObj,
int row,
int col)
- set the value at the specified cell.
empty values delete the row.
setting values in non-existent rows inserts one row after the
current last row.
getColumnName
public String getColumnName(int index)
Copyright © 2003 Riege Software Internationl. All Rights Reserved.