R
- the base type of MOTableRow
this factory creates.MOMutableTableModel<R>
DefaultMOFactory
, DefaultMOMutableRow2PCFactory
, DefaultMOMutableTableModel
, SimMOFactory
, UsmMIB.UsmTableModel
public interface MOTableRowFactory<R extends MOTableRow>
MOTableRowFactory
is used to create and delete rows for a
table model.Modifier and Type | Method | Description |
---|---|---|
R |
createRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values) |
Creates a new
MOTableRow row instance and returns it. |
void |
freeRow(R row) |
Frees resources associated with the supplied row which is to be deleted.
|
R createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) throws java.lang.UnsupportedOperationException
MOTableRow
row instance and returns it.index
- the index OID for the new row.values
- the values to be contained in the new row.MOTableRow
.java.lang.UnsupportedOperationException
- if the specified row cannot be created.void freeRow(R row)
row
- a MOTableRow that has been created using this factory and is now to
be deleted (removed from the associated table).Copyright © 2018 SNMP4J.org. All rights reserved.