java.lang.Object
javax.swing.table.AbstractTableModel
org.integralsource.monsoon.jfc.ListTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- public class ListTableModel
- extends javax.swing.table.AbstractTableModel
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lists
private java.util.ArrayList lists
columns
private java.lang.String[] columns
ListTableModel
public ListTableModel(java.util.ArrayList lists)
addList
public void addList(org.integralsource.monsoon.data.List list)
removeList
public void removeList(int index)
getList
public org.integralsource.monsoon.data.List getList(int row)
getLists
public java.util.ArrayList getLists()
setLists
public void setLists(java.util.ArrayList lists)
getValueAt
public java.lang.Object getValueAt(int row,
int column)
- Description copied from interface:
javax.swing.table.TableModel
- Returns the value (
Object) at a particular cell in the
table.
getRowCount
public int getRowCount()
- Description copied from interface:
javax.swing.table.TableModel
- Returns the number of rows in the model.
getColumnCount
public int getColumnCount()
- Description copied from interface:
javax.swing.table.TableModel
- Returns the number of columns in the model.
getColumnName
public java.lang.String getColumnName(int i)
- Description copied from class:
javax.swing.table.AbstractTableModel
- Returns the name of the specified column. This method generates default
names in a sequence (starting with column 0): A, B, C, ..., Z, AA, AB,
AC, ..., AZ, BA, BB, BC, and so on. Subclasses may override this method
to allow column names to be specified on some other basis.