hoplugins.teamAnalyzer.ui.model
Class UiFilterTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byjavax.swing.table.DefaultTableModel
          extended byhoplugins.commons.ui.BaseTableModel
              extended byhoplugins.teamAnalyzer.ui.model.UiFilterTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class UiFilterTableModel
extends hoplugins.commons.ui.BaseTableModel

Custom FilterTable model

Author:
Massimiliano Amato
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
UiFilterTableModel()
          Creates a new instance of UiFilterTableModel
UiFilterTableModel(java.util.Vector data, java.util.Vector columnNames)
          Creates a new UiFilterTableModel object.
 
Method Summary
 java.lang.Class getColumnClass(int column)
          Returns the column class type
 boolean isCellEditable(int row, int column)
          Returns true if the cell is editable
 
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
 
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

UiFilterTableModel

public UiFilterTableModel()
Creates a new instance of UiFilterTableModel


UiFilterTableModel

public UiFilterTableModel(java.util.Vector data,
                          java.util.Vector columnNames)
Creates a new UiFilterTableModel object.

Parameters:
data - Vector of table data
columnNames - Vector of column names
Method Detail

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Returns true if the cell is editable

Parameters:
row -
column -
Returns:

getColumnClass

public java.lang.Class getColumnClass(int column)
Returns the column class type

Parameters:
column -
Returns:


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.