com.Prominic.jFTPd
Class PropertiesTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.Prominic.jFTPd.PropertiesTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class PropertiesTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
protected  java.util.Vector keys
           
protected  java.util.Vector values
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
PropertiesTableModel()
           
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 java.lang.Object keyAtIndex(int n)
           
 void setValues(java.util.Vector newkeys, java.util.Vector newvalues)
           
 java.lang.Object valueAtIndex(int n)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keys

protected java.util.Vector keys

values

protected java.util.Vector values
Constructor Detail

PropertiesTableModel

public PropertiesTableModel()
Method Detail

getColumnCount

public int getColumnCount()

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

keyAtIndex

public java.lang.Object keyAtIndex(int n)

setValues

public void setValues(java.util.Vector newkeys,
                      java.util.Vector newvalues)

valueAtIndex

public java.lang.Object valueAtIndex(int n)