|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel dist1.acb.ACBpoint.SearchResultTableModel
Purpose: It is used for displaying the search result
Field Summary | |
static java.lang.String[] |
colNames
|
static java.lang.Class[] |
colTypes
|
static int |
DESCRIPTION_COL
|
static int |
FILE_NAME_COL
|
static int |
OWNER_COL
|
static int |
PRICE_COL
|
static int |
TOPIC_COL
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
SearchResultTableModel()
|
|
SearchResultTableModel(java.util.LinkedList mData)
Creates a new instance of PublishingTable |
Method Summary | |
void |
addElement(ResponseSearch.SearchInfo Data)
|
java.lang.Class |
getColumnClass(int col)
|
int |
getColumnCount()
getColumnCount Number columns same as the column array length |
java.lang.String |
getColumnName(int col)
|
java.util.LinkedList |
getData()
|
int |
getRowCount()
getRowCount Row count same as the size of data vector |
java.lang.Object |
getValueAt(int row,
int col)
getValueAt This function updates the JTable depending upon the data in the TableModel |
boolean |
isCellEditable(int row,
int column)
|
void |
removeElement(int index)
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
setValueAt This function updates the data in the TableModel depending upon the change in the JTable |
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 |
Field Detail |
public static final int OWNER_COL
public static final int FILE_NAME_COL
public static final int PRICE_COL
public static final int DESCRIPTION_COL
public static final int TOPIC_COL
public static final java.lang.String[] colNames
public static final java.lang.Class[] colTypes
Constructor Detail |
public SearchResultTableModel(java.util.LinkedList mData)
public SearchResultTableModel()
Method Detail |
public int getColumnCount()
public int getRowCount()
public void setValueAt(java.lang.Object value, int row, int col)
public java.lang.String getColumnName(int col)
public java.lang.Class getColumnClass(int col)
public java.lang.Object getValueAt(int row, int col)
public void addElement(ResponseSearch.SearchInfo Data)
public void removeElement(int index)
public java.util.LinkedList getData()
public boolean isCellEditable(int row, int column)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |