org.xnap.gui.table
Class HotlistTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.xnap.gui.table.AbstractSortableTableModel
org.xnap.gui.table.AbstractColumnTableModel
org.xnap.gui.table.HotlistTableModel
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.swing.table.TableModel, StateListener, SwingListListener, ColumnModel, SortableModel
public class HotlistTableModel
- extends AbstractColumnTableModel
- implements StateListener, SwingListListener
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class org.xnap.gui.table.AbstractSortableTableModel |
compare, compareRowsByColumn, fireTableChanged, getSortedColumn, getValueAt, isCellEditable, isSortedAscending, mapToDtmIndex, mapToIndex, n2sort, reallocateIndexes, reallocateIndexes, resort, set, setMaintainSortOrder, setSortedAscending, setValueAt, shuttlesort, sort, sortByColumn, swap |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, 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 |
HotlistTableModel
public HotlistTableModel()
itemsAdded
public void itemsAdded(java.lang.Object[] items)
- Invoked when items have been added.
- Specified by:
itemsAdded
in interface SwingListListener
itemsRemoved
public void itemsRemoved(java.lang.Object[] items)
- Invoked when items have been removed.
- Specified by:
itemsRemoved
in interface SwingListListener
add
public void add(HotlistItem item)
get
public HotlistItem get(int i)
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface javax.swing.table.TableModel
get
public java.lang.Object get(int i,
int j)
- Specified by:
get
in class AbstractSortableTableModel
remove
public void remove(HotlistItem item)
setFilter
public void setFilter(HotlistTableModel.UserFilter filter)
stateChanged
public void stateChanged(StateEvent e)
- Description copied from interface:
StateListener
- Invoked when the object has changed.
Usually if the object is represented on screen
the gui needs to be updated.
- Specified by:
stateChanged
in interface StateListener
reload
public void reload()
Copyright © 2001-2005 XNap Team. All Rights Reserved.