| org.snmp4j.agent.mo.MOMutableTableModel
All known Subclasses: org.snmp4j.agent.mo.jmx.JMXMutableTableModel, org.snmp4j.agent.mo.DefaultMOMutableTableModel,
MOMutableTableModel | public interface MOMutableTableModel extends MOTableModel,MOTableRowFactory(Code) | | The MOMutableTableModel defines the interface for mutable
table models. Mutable table models support row creation and deletion through
SNMP SET operations.
author: Frank Fock version: 1.0 |
addRow | MOTableRow addRow(MOTableRow row)(Code) | | Adds a row to the table. If a row with the same index already exists
it will be replaced and returned.
Parameters: row - the MOTableRow instance to add.the previous row with the specified index or null if itdid not have one. |
clear | void clear()(Code) | | Removes all rows.
|
clear | void clear(MOTableRowFilter filter)(Code) | | Remove all rows that do not match the given filter criteria
from the model.
Parameters: filter - the MOTableRowFilter that filters out the rows todelete. |
removeRow | MOTableRow removeRow(OID index)(Code) | | Removes the row with the specified index from the table and returns it.
Parameters: index - the row index of the row to remove.the removed row or null if the table did not contain sucha row. |
setRowFactory | void setRowFactory(MOTableRowFactory rowFactory)(Code) | | Sets the factory instance to be used for creating rows for this model.
Parameters: rowFactory - a MOTableRowFactory instance or null todisable row creation. |
|
|