public class PGroupMembersTableModel extends PAbstractMonitorTableModel
| Modifier and Type | Class and Description |
|---|---|
class |
PGroupMembersTableModel.NumberButtonCellRenderer
Renderer for the first column of a table.
|
listenerList| Constructor and Description |
|---|
PGroupMembersTableModel()
Constructs an
PGroupMembersTableModel model |
| Modifier and Type | Method and Description |
|---|---|
protected void |
formatHandCursor(PFCTable table)
Shows Hand cursor when the mouse moved
on to account number column.
|
protected void |
formatTable(PFCTable table)
Customizing the table according to derived class needs.
|
Poid |
getAccountPoid()
Returns the poid of the account number that was selected.
|
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. |
void |
setData(ArrayList l)
Sets data to the model.
|
getRowAt, getRowCount, getSelectedData, getTable, getValueAt, informSorterOfModelChange, setDataaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic PGroupMembersTableModel()
PGroupMembersTableModel modelprotected Object getValueForColumn(Object element, int columnIndex)
columnIndex.getValueForColumn in class PAbstractMonitorTableModelelement - Object the row objectcolumnIndex - int the column whose value is to be queriedpublic String getColumnName(int col)
col. This is used
to initialize the table's column header name.getColumnName in interface TableModelgetColumnName in class AbstractTableModelcol - the index of the columnpublic int getColumnCount()
size uses this method to determine how many columns it
Should create and display by default.public void setData(ArrayList l)
l - ArrayList the members groupprotected void formatTable(PFCTable table)
formatTable in class PAbstractMonitorTableModeltable - JTable
Subclasses should override this, but also call super.formatTable(table)protected void formatHandCursor(PFCTable table)
formatHandCursor in class PAbstractMonitorTableModeltable - PFCTablepublic Poid getAccountPoid()
getSelectedRow uses this method to determine
the selected row in the table.Copyright © 2003, 2023, Oracle and/or its affiliates.