|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TableModelListener
This interface is used for handling tables in SNMP when user needs the choice of handling the table entries rather than the SNMP agent holding it them in memory.
| Method Summary | |
|---|---|
void |
addRow(TableEntry entry)
When the manager is trying to add a row in the table, this method will be called. |
void |
deleteRow(int[] inst)
When the manager is trying to delete a row in the table, this method will be called. |
TableEntry |
get(int[] inst)
To get the entry for the given row (identified by the instance). |
TableEntry |
getFirstEntry()
To get the first entry in the table. |
TableEntry |
getNext(int[] inst)
To get the next entry for the given row (identified by the instance). |
java.util.Vector |
getTableElements()
To get the table elements. |
void |
setTableElements(java.util.Vector tableElements)
To set the table elements. |
| Method Detail |
|---|
TableEntry get(int[] inst)
inst - The instance Value.
TableEntry getNext(int[] inst)
inst - The instance Value.
TableEntry getFirstEntry()
void addRow(TableEntry entry)
throws java.lang.Exception
entry - the table entry class instance.
java.lang.Exception - If the entry given is wrong Exceptions will be thrown.
void deleteRow(int[] inst)
throws java.lang.Exception
inst - the instance Value.
java.lang.Exception - If the entry given is wrong Exceptions will be thrown.void setTableElements(java.util.Vector tableElements)
tableElements - the collection of TableEntry instances.java.util.Vector getTableElements()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||