Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.certconfig
Class CertConfigTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by net.java.sip.communicator.plugin.certconfig.CertConfigTableModel
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, TableModel

public class CertConfigTableModel
extends AbstractTableModel
implements PropertyChangeListener

Backing data model for a JTable that displays the client certificate configuration entries.

Author:
Ingo Bauersachs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CertConfigTableModel()
          Constructor.
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int column)
           
 CertificateConfigEntry getItem(int rowIndex)
          Get CertificateConfigEntry located at rowIndex.
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 void propertyChange(PropertyChangeEvent evt)
           
 
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
 

Constructor Detail

CertConfigTableModel

public CertConfigTableModel()
Constructor.

Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

getItem

public CertificateConfigEntry getItem(int rowIndex)
Get CertificateConfigEntry located at rowIndex.

Parameters:
rowIndex - row index
Returns:
CertificateConfigEntry

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.