net.sourceforge.argval.packageinfo.swing
Class PackageInfoTableModel
java.lang.Object
net.sourceforge.argval.packageinfo.swing.PackageInfoTableModel
- All Implemented Interfaces:
- TableModel
public final class PackageInfoTableModel
- extends Object
- implements TableModel
Models the PackageInfo
entries of the PackageInfoManagerImpl
as a Swing TableModel.
- Author:
- T. Verhagen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnNames
public final String[] columnNames
- The TableModel column names.
PackageInfoTableModel
public PackageInfoTableModel(PackageInfoManager manager)
getColumnClass
public Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interface TableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName
in interface TableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface TableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable
in interface TableModel
setValueAt
public void setValueAt(Object value,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt
in interface TableModel
addTableModelListener
public void addTableModelListener(TableModelListener tml)
- Specified by:
addTableModelListener
in interface TableModel
removeTableModelListener
public void removeTableModelListener(TableModelListener tml)
- Specified by:
removeTableModelListener
in interface TableModel
Copyright © 2013 Verhagen Software. All Rights Reserved.