de.hattrickorganizer.gui.model
Class VAPTableModel

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

public class VAPTableModel
extends javax.swing.table.AbstractTableModel

DOCUMENT ME!

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

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
VAPTableModel(java.lang.String[] columnNames, java.lang.Object[][] data)
          Creates a new VAPTableModel object.
VAPTableModel(java.lang.String[] columnNames, java.lang.Object[][] data, boolean editable)
          Creates a new VAPTableModel object.
 
Method Summary
 java.lang.Class getColumnClass(int columnIndex)
          TODO Missing Method Documentation
 int getColumnCount()
          TODO Missing Method Documentation
 java.lang.String getColumnName(int columnIndex)
          TODO Missing Method Documentation
 int getRowCount()
          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 setCellEditable(boolean editable)
          TODO Missing Method Documentation
 void setValueAt(java.lang.Object value, int row, int column)
          TODO Missing Method Documentation
 void setValues(java.lang.String[] columNames, java.lang.Object[][] data)
          TODO Missing Method Documentation
 
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
 

Constructor Detail

VAPTableModel

public VAPTableModel(java.lang.String[] columnNames,
                     java.lang.Object[][] data)
Creates a new VAPTableModel object.

Parameters:
columnNames - TODO Missing Constructuor Parameter Documentation
data - TODO Missing Constructuor Parameter Documentation

VAPTableModel

public VAPTableModel(java.lang.String[] columnNames,
                     java.lang.Object[][] data,
                     boolean editable)
Creates a new VAPTableModel object.

Parameters:
columnNames - TODO Missing Constructuor Parameter Documentation
data - TODO Missing Constructuor Parameter Documentation
editable - TODO Missing Constructuor Parameter Documentation
Method Detail

setCellEditable

public final void setCellEditable(boolean editable)
TODO Missing Method Documentation

Parameters:
editable - TODO Missing Method Parameter Documentation

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()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

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

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.lang.String[] columNames,
                            java.lang.Object[][] data)
TODO Missing Method Documentation

Parameters:
columNames - TODO Missing Method Parameter Documentation
data - TODO Missing Method Parameter Documentation