rero.gui.toolkit
Class GeneralListModel
java.lang.Object
javax.swing.table.AbstractTableModel
rero.gui.toolkit.GeneralListModel
- All Implemented Interfaces:
- Serializable, contrib.javapro.SortTableModel, TableModel
- public abstract class GeneralListModel
- extends AbstractTableModel
- implements contrib.javapro.SortTableModel
A model for the sortable list window thingy...
- See Also:
- Serialized Form
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 |
GeneralListModel
public GeneralListModel()
isSortable
public boolean isSortable(int col)
- Specified by:
isSortable
in interface contrib.javapro.SortTableModel
sortColumn
public abstract void sortColumn(int col,
boolean ascending)
- Specified by:
sortColumn
in interface contrib.javapro.SortTableModel
getRowCount
public abstract int getRowCount()
- Specified by:
getRowCount
in interface TableModel
getColumnCount
public abstract int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
getColumnName
public abstract String getColumnName(int col)
- Specified by:
getColumnName
in interface TableModel
getColumnWidth
public abstract int getColumnWidth(int col)
getEventHashMap
public abstract HashMap getEventHashMap(int row)
getValueAt
public abstract Object getValueAt(int row,
int col)
- make sure this method always returns an AttributedString
- Specified by:
getValueAt
in interface TableModel