|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MOMutableTableModel
The MOMutableTableModel defines the interface for mutable
table models. Mutable table models support row creation and deletion through
SNMP SET operations.
| Method Summary | |
|---|---|
MOTableRow |
addRow(MOTableRow row)
Adds a row to the table. |
void |
clear()
Removes all rows. |
void |
clear(MOTableRowFilter filter)
Remove all rows that do not match the given filter criteria from the model. |
MOTableRow |
removeRow(org.snmp4j.smi.OID index)
Removes the row with the specified index from the table and returns it. |
void |
setRowFactory(MOTableRowFactory rowFactory)
Sets the factory instance to be used for creating rows for this model. |
| Methods inherited from interface org.snmp4j.agent.mo.MOTableModel |
|---|
containsRow, firstIndex, firstRow, getColumnCount, getRow, getRowCount, iterator, lastIndex, lastRow, tailIterator |
| Methods inherited from interface org.snmp4j.agent.mo.MOTableRowFactory |
|---|
createRow, freeRow |
| Method Detail |
|---|
MOTableRow addRow(MOTableRow row)
row - the MOTableRow instance to add.
null if it
did not have one.MOTableRow removeRow(org.snmp4j.smi.OID index)
index - the row index of the row to remove.
null if the table did not contain such
a row.void clear()
void clear(MOTableRowFilter filter)
filter - the MOTableRowFilter that filters out the rows to
delete.void setRowFactory(MOTableRowFactory rowFactory)
rowFactory - a MOTableRowFactory instance or null to
disable row creation.
|
Copyright 2005-2008 Frank Fock (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||