|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.VaclTableModelListener
public class VaclTableModelListener
| Constructor Summary | |
|---|---|
VaclTableModelListener(SnmpAgent agentRef)
Primary Constructor. |
|
VaclTableModelListener(SnmpAgent agentRef,
VaclTable vaclTable)
Constructor with the VaclTable reference. |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VaclTableModelListener(SnmpAgent agentRef)
agnetRef - the SnmpAgent reference.
public VaclTableModelListener(SnmpAgent agentRef,
VaclTable vaclTable)
agentRef - the SnmpAgent reference.vaclTable - The VaclTable instance if any associated with this Agent.| Method Detail |
|---|
public void addRow(TableEntry entry)
throws java.lang.Exception
addRow in interface TableModelListenerentry - the table entry class instance
java.lang.Exception - If the entry given is wrong Exceptions will be thrown.
public void deleteRow(int[] inst)
throws java.lang.Exception
deleteRow in interface TableModelListenerentry - the table entry class instance
java.lang.Exception - If the entry given is wrong Exceptions will be thrown.public TableEntry get(int[] inst)
get in interface TableModelListenerinst - The instance Value.
public TableEntry getFirstEntry()
getFirstEntry in interface TableModelListenerpublic TableEntry getNext(int[] inst)
getNext in interface TableModelListenerinst - The instance Value.
public java.util.Vector getTableElements()
getTableElements in interface TableModelListenerpublic void setTableElements(java.util.Vector tableElements)
setTableElements in interface TableModelListenertableElements - the collection of TableEntry instances.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||