|
|||||||||||
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.CBLcc.CBLsTableModel
Table model for displaying the CBLs
Field Summary | |
static int |
CBL_CLIENT_PORT_COL
|
static int |
CBL_CONNECTED_USERS_COL
|
static int |
CBL_HOST_COL
|
static int |
CBL_NAME_COL
|
static int |
CBL_ONLINE_COL
|
static int |
CBL_PORT_COL
|
static java.lang.String[] |
colNames
|
static java.lang.Class[] |
colTypes
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
CBLsTableModel()
Creates a new CBLsTableModel object. |
|
CBLsTableModel(java.util.LinkedList mData)
Creates a new instance of PublishingTable |
Method Summary | |
void |
addElement(ResponseCBLsInfo.CBLInfo Data)
DOCUMENT ME! |
java.lang.Class |
getColumnClass(int col)
DOCUMENT ME! |
int |
getColumnCount()
getColumnCount Number columns same as the column array length |
java.lang.String |
getColumnName(int col)
DOCUMENT ME! |
java.util.LinkedList |
getData()
DOCUMENT ME! |
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)
DOCUMENT ME! |
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 CBL_ONLINE_COL
public static final int CBL_NAME_COL
public static final int CBL_HOST_COL
public static final int CBL_PORT_COL
public static final int CBL_CLIENT_PORT_COL
public static final int CBL_CONNECTED_USERS_COL
public static final java.lang.String[] colNames
public static final java.lang.Class[] colTypes
Constructor Detail |
public CBLsTableModel(java.util.LinkedList mData)
mData
- DOCUMENT ME!public CBLsTableModel()
Method Detail |
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
row
- DOCUMENT ME!column
- DOCUMENT ME!
public java.lang.Class getColumnClass(int col)
getColumnClass
in interface javax.swing.table.TableModel
col
- DOCUMENT ME!
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
col
- DOCUMENT ME!
public java.util.LinkedList getData()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
value
- DOCUMENT ME!row
- DOCUMENT ME!col
- DOCUMENT ME!public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
row
- DOCUMENT ME!col
- DOCUMENT ME!
public void addElement(ResponseCBLsInfo.CBLInfo Data)
Data
- DOCUMENT ME!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |