de.kosi.gui.util
Class TableDistributedTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--de.kosi.util.AbstractDistributedListTableModel
|
+--de.kosi.gui.util.TableDistributedTableModel
- All Implemented Interfaces:
- java.util.EventListener, ResourceBundleChangeListener, java.io.Serializable, javax.swing.table.TableModel
- public class TableDistributedTableModel
- extends AbstractDistributedListTableModel
- implements ResourceBundleChangeListener
This class provides a TableModel for the a DistributedList of tables.
ChangeLog:
$Log: TableDistributedTableModel.java,v $
Revision 1.1 2001/07/31 13:00:27 jiriki
Worked on Tournament
Revision 1.4 2001/07/17 10:17:49 tanni
join table
Revision 1.3 2001/06/04 14:21:10 jiriki
Made source more comliant to coding guidelines.
Revision 1.2 2001/05/22 20:24:40 jiriki
Made source more conformant to Coding Conventions.
Revision 1.1.1.1 2001/04/29 18:05:19 jiriki
Imported sources from zola.
Revision 1.9 2001/04/11 17:40:49 wombat
Updated Documentation.
Revision 1.8 2001/04/11 12:34:32 wombat
jar files restructured.
Revision 1.7 2001/03/01 21:28:14 wombat
Updated TestClient
Resolved some bugs
Revision 1.6 2001/03/01 14:43:00 wombat
Worked on table implementation.
Revision 1.5 2001/02/26 11:21:45 wombat
Worked on table.
Revision 1.4 2001/02/19 23:21:17 wombat
Added SSL Support, Implement DistributedListFilter
Revision 1.3 2001/02/02 10:59:15 wombat
Updated Documentationm
- Version:
- $Revision: 1.1 $ ($Date: 2001/07/31 13:00:27 $)
- Author:
- Jan-Ole Janssen, Timo Sticher, Niklas Mehner
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_VALUE
public static final java.lang.String EMPTY_VALUE
TableDistributedTableModel
public TableDistributedTableModel(DistributedList list,
DistributedListFilter filter)
throws java.rmi.RemoteException,
InvalidSessionException
- Creates a new TableModel.
- Parameters:
list
- DistributedList this TableModel is based on.filter
- filter for this tablemodel.- Throws:
java.rmi.RemoteException
- when a RMI call fails.InvalidSessionException
- when not called from within a
valid session context.
resourceBundleChanged
public void resourceBundleChanged(CResourceBundle resourceBundle)
- Description copied from interface:
ResourceBundleChangeListener
- Invoked when the resource bundle has been changed.
- Specified by:
resourceBundleChanged
in interface ResourceBundleChangeListener
- Following copied from interface:
de.kosi.gui.util.ResourceBundleChangeListener
- Parameters:
resource
- bundle the new resource bundle.
createListEntry
protected AbstractDistributedListTableModel.ListEntry createListEntry(java.lang.Object obj)
- Creates a new entry for the list of tables.
- Overrides:
createListEntry
in class AbstractDistributedListTableModel
- Parameters:
obj
- table a entry is created for.- Returns:
- a new TableListEntry.
getColumnCount
public int getColumnCount()
- Returns the number of columns this model has.
- Overrides:
getColumnCount
in class AbstractDistributedListTableModel
- Returns:
- columncount.
getTable
public Table getTable(int row)
- Returns the table in a given row.
- Parameters:
row
- Row the table should be returned for.- Returns:
- Table or null if not available.