C
- the proxy column type fo the table proxy.IC
- the index proxy column type for the table proxy.IT
- the model value type for index columns.T
- the model value type for the columnar model values.R
- the proxy row type for the rows of the table.MutableSnmpProxy
, SnmpCommitListener
, SnmpProxyObject
, SnmpTableRO<IC,C,IT,T,R>
, SnmpTableUpdateListener<C>
, TableModel
SnmpTableImpl
public interface SnmpTable<C extends SnmpProxyColumn,IC extends SnmpProxyIndexColumn,IT,T,R extends SnmpProxyRow<IT,T>> extends SnmpTableRO<IC,C,IT,T,R>, SnmpCommitListener, MutableSnmpProxy
SnmpTable
defines the interface for writable table proxies.Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Remove all rows of the proxy table without changing the target SNMP table at all.
|
void |
fireTableCellUpdated(int row,
int column) |
Fire a table cell updated event to the associated
SnmpCellUpdateListener . |
SnmpCellUpdateListener |
getCellUpdateListener() |
Gets the cell update listener associated with this table.
|
void |
insertRow(R newRow) |
Insert a new row into the table.
|
void |
setCellUpdateListener(SnmpCellUpdateListener cellUpdateListener) |
Sets the cell update listener associated with this table.
|
doChange, getCommitter, undoChange
commitFailure, commitSuccess, getContext
getContext, reload, waitForTask
addError, clearAllErrors, clearError, getCell, getColumnNumber, getColumns, getCurrentIndex, getError, getIndexColumns, getIndexVariableBindings, getMinIndex, getOID, getPageSize, getRowFactory, getRowFilter, getRowIndex, getRowIndexes, getRowNumber, getTableColumnModel, setCurrentIndex, setMinIndex, setPageSize, setRowFilter
beginUpdate, finishUpdate, updateRow
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
void insertRow(R newRow)
SnmpCommitListener
.newRow
- the new proxy row.void fireTableCellUpdated(int row, int column)
SnmpCellUpdateListener
.row
- the zero based row number of the cell.column
- the zero based (including index columns) column index of the cell.void clear()
SnmpCellUpdateListener getCellUpdateListener()
void setCellUpdateListener(SnmpCellUpdateListener cellUpdateListener)
cellUpdateListener
- the new cell update listener for this table.Copyright © 2020 SNMP4J.org. All rights reserved.