de.hattrickorganizer.gui.model
Class AufstellungSpielerTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by de.hattrickorganizer.gui.model.AufstellungSpielerTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class AufstellungSpielerTableModel
extends javax.swing.table.AbstractTableModel

DOCUMENT ME!

Version:
0.2a 31.10.2001
Author:
Volker Fischer
See Also:
Serialized Form

Field Summary
 java.lang.String[] m_sToolTipStrings
          TODO Missing Parameter Documentation
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AufstellungSpielerTableModel(java.util.Vector spieler)
          Creates a new AufstellungSpielerTableModel object.
 
Method Summary
 void addSpieler(Spieler spieler, int index)
          Fügt der Tabelle einen Spieler hinzu
 java.lang.Class getColumnClass(int columnIndex)
          TODO Missing Method Documentation
 int getColumnCount()
           
 java.lang.String getColumnName(int columnIndex)
          TODO Missing Method Documentation
 int getRowCount()
          TODO Missing Method Documentation
 Spieler getSpieler(int id)
          TODO Missing Method Documentation
 java.lang.Object getValue(int row, java.lang.String columnName)
          TODO Missing Method Documentation
 java.lang.Object getValueAt(int row, int column)
          TODO Missing Method Documentation
 boolean isCellEditable(int row, int col)
          TODO Missing Method Documentation
 void reInitData()
          Passt nur die Aufstellung an
 void removeSpieler(Spieler spieler)
          Entfernt den Spieler aus der Tabelle
 void setSpielberechtigung(int zeile)
          Listener für die Checkboxen zum Autoaufstellen
 void setValueAt(java.lang.Object value, int row, int column)
          TODO Missing Method Documentation
 void setValues(java.util.Vector spieler)
          Spieler neu setzen
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, 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
 

Field Detail

m_sToolTipStrings

public final java.lang.String[] m_sToolTipStrings
TODO Missing Parameter Documentation

Constructor Detail

AufstellungSpielerTableModel

public AufstellungSpielerTableModel(java.util.Vector spieler)
Creates a new AufstellungSpielerTableModel object.

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
Method Detail

isCellEditable

public final boolean isCellEditable(int row,
                                    int col)
TODO Missing Method Documentation

Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel
Parameters:
row - TODO Missing Method Parameter Documentation
col - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getColumnClass

public final java.lang.Class getColumnClass(int columnIndex)
TODO Missing Method Documentation

Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel
Parameters:
columnIndex - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getColumnCount

public final int getColumnCount()

getColumnName

public final java.lang.String getColumnName(int columnIndex)
TODO Missing Method Documentation

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
Parameters:
columnIndex - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getRowCount

public final int getRowCount()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

setSpielberechtigung

public final void setSpielberechtigung(int zeile)
Listener für die Checkboxen zum Autoaufstellen

Parameters:
zeile - TODO Missing Constructuor Parameter Documentation

getSpieler

public final Spieler getSpieler(int id)
TODO Missing Method Documentation

Parameters:
id - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getValue

public final java.lang.Object getValue(int row,
                                       java.lang.String columnName)
TODO Missing Method Documentation

Parameters:
row - TODO Missing Method Parameter Documentation
columnName - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setValueAt

public final void setValueAt(java.lang.Object value,
                             int row,
                             int column)
TODO Missing Method Documentation

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel
Parameters:
value - TODO Missing Method Parameter Documentation
row - TODO Missing Method Parameter Documentation
column - TODO Missing Method Parameter Documentation

getValueAt

public final java.lang.Object getValueAt(int row,
                                         int column)
TODO Missing Method Documentation

Parameters:
row - TODO Missing Method Parameter Documentation
column - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setValues

public final void setValues(java.util.Vector spieler)
Spieler neu setzen

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation

addSpieler

public final void addSpieler(Spieler spieler,
                             int index)
Fügt der Tabelle einen Spieler hinzu

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation
index - TODO Missing Constructuor Parameter Documentation

reInitData

public final void reInitData()
Passt nur die Aufstellung an


removeSpieler

public final void removeSpieler(Spieler spieler)
Entfernt den Spieler aus der Tabelle

Parameters:
spieler - TODO Missing Constructuor Parameter Documentation