You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.addressbook.AddressBook.DataModel

java.lang.Object
   |
   +----com.sun.java.swing.table.AbstractTableModel
           |
           +----grendel.addressbook.AddressBook.DataModel

public class  AddressBook.DataModel
     extends com.sun.java.swing.table.AbstractTableModel
{
          // Fields 2
     private String[] mColumnNames;
     private Vector mVecVec;

          // Constructors 1
     public DataModel(String[]);

          // Methods 8
     public Class getColumnClass(int);
     public int getColumnCount();
     public String getColumnName(int);
     public int getRowCount();
     public Object getValueAt(int, int);
     public boolean isCellEditable(int, int);
     public void reloadData(String, int, String);
     public void setValueAt(Object, int, int);
}



Fields


mVecVec

   private Vector mVecVec


mColumnNames

   private String[] mColumnNames



Constructors


DataModel

   public DataModel(String[] aNames) 



Methods


getRowCount

   public int getRowCount() 
Overrides:
getRowCount in class AbstractTableModel


getColumnCount

   public int getColumnCount() 
Overrides:
getColumnCount in class AbstractTableModel


getColumnName

   public String getColumnName(int column) 
Overrides:
getColumnName in class AbstractTableModel


getColumnClass

   public Class getColumnClass(int col) 
Overrides:
getColumnClass in class AbstractTableModel


isCellEditable

   public boolean isCellEditable(int row, 
                                 int col) 
Overrides:
isCellEditable in class AbstractTableModel


setValueAt

   public void setValueAt(Object aValue, 
                          int row, 
                          int column) 
Overrides:
setValueAt in class AbstractTableModel


reloadData

   public void reloadData(String aServerName, 
                          int aPort, 
                          String aSearchString) 


getValueAt

   public Object getValueAt(int row, 
                            int column) 
Overrides:
getValueAt in class AbstractTableModel


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4