com.myjavaworld.jftp.ssl
Class CertificateTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.myjavaworld.jftp.ssl.CertificateTableModel
All Implemented Interfaces:
Serializable, TableModel

public class CertificateTableModel
extends AbstractTableModel

Author:
Sai Pullabhotla, psai [at] jMethods [dot] com To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CertificateTableModel(KeyStore keyStore)
           
 
Method Summary
 String getAliasAt(int row)
           
 Certificate getCertificateAt(int row)
           
 Class getColumnClass(int col)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 KeyStore getKeyStore()
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 void setKeyStore(KeyStore keyStore)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, 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

CertificateTableModel

public CertificateTableModel(KeyStore keyStore)
                      throws KeyStoreException
Throws:
KeyStoreException
Method Detail

setKeyStore

public void setKeyStore(KeyStore keyStore)
                 throws KeyStoreException
Throws:
KeyStoreException

getKeyStore

public KeyStore getKeyStore()

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

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

getValueAt

public Object getValueAt(int row,
                         int col)

getColumnClass

public Class getColumnClass(int col)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getCertificateAt

public Certificate getCertificateAt(int row)

getAliasAt

public String getAliasAt(int row)


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.