public class PResourceTableModel extends PAbstractMonitorTableModel
listenerList| Constructor and Description |
|---|
PResourceTableModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
formatTable(PFCTable table)
Customizing the table
|
int |
getColumnCount()
Returns the number of columns in the model.
|
String |
getColumnName(int col)
Returns the name of the column at
col. |
protected Object |
getValueForColumn(Object element,
int columnIndex)
Returns the cell value from the passed row data structure
at
columnIndex. |
boolean |
isCellEditable(int row,
int col)
Returns
true only for the credit limit and the credit floor column. |
void |
setData(ArrayList l)
Sets the data to the model.
|
void |
setValueAt(Object value,
int row,
int column)
This method updates the balance monitor object with the credit limit and the credit floor
|
formatHandCursor, getRowAt, getRowCount, getSelectedData, getTable, getValueAt, informSorterOfModelChange, setDataaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerprotected Object getValueForColumn(Object element, int columnIndex)
columnIndex.getValueForColumn in class PAbstractMonitorTableModele - Object the row objectcolumnIndex - int the column whose value is to be queriedpublic String getColumnName(int col)
col.getColumnName in interface TableModelgetColumnName in class AbstractTableModelcol - intpublic int getColumnCount()
public void setData(ArrayList l)
l - ArrayListprotected void formatTable(PFCTable table)
formatTable in class PAbstractMonitorTableModeltable - PFCTablepublic boolean isCellEditable(int row,
int col)
true only for the credit limit and the credit floor column.isCellEditable in interface TableModelisCellEditable in class AbstractTableModelrow - intcol - intpublic void setValueAt(Object value, int row, int column)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelvalue - Objectrow - intcolumn - intCopyright © 2003, 2023, Oracle and/or its affiliates.