|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.adventnet.snmp.beans.SnmpTableEvent
This class is the event generated by the SnmpTableReceiver bean class. It contains the SnmpTable data.
| Field Summary | |
static int |
ALL_COLUMNS
Constant to specify if change was across all columns. |
(package private) java.lang.Object |
changedValue
|
(package private) int |
column
|
static int |
DELETE
Constant to specify what the change was. |
(package private) int |
endRow
|
(package private) java.lang.String |
error
|
static int |
INSERT
Constant to specify what the change was. |
(package private) boolean |
isEnd
|
(package private) int |
startRow
|
(package private) int |
type
|
static int |
UPDATE
Constant to specify what the change was. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SnmpTableEvent(java.lang.Object table,
java.lang.Object value,
int startRow,
int endRow,
int column,
int change)
This instantiates an SnmpTable event with specified source. |
|
SnmpTableEvent(java.lang.Object table,
java.lang.Object value,
int startRow,
int endRow,
int column,
int change,
boolean isEnd)
This instantiates an SnmpTable event with specified source. |
|
| Method Summary | |
int |
getColumn()
Gets the columns that are changed. |
int |
getFirstRow()
Returns the starting index of the rows changed. |
int |
getLastRow()
Returns the last index of the rows changed. |
int |
getType()
Returns the type of change that has occured. |
boolean |
isEndOfTable()
Returns the state whether the end of the table is reached or not. |
| Methods inherited from class java.util.EventObject |
getSource,
toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.lang.Object changedValue
int startRow
int endRow
int column
int type
java.lang.String error
boolean isEnd
public static final int INSERT
public static final int DELETE
public static final int UPDATE
public static final int ALL_COLUMNS
| Constructor Detail |
public SnmpTableEvent(java.lang.Object table,
java.lang.Object value,
int startRow,
int endRow,
int column,
int change)
table - - this is the object from which this event is generated.
value - this is the value to the cell.
startRow - starting index of the rows changed.
endRow - last index of the rows changed.
column - the column that is changed.
change - this will specify the type of the change.
public SnmpTableEvent(java.lang.Object table,
java.lang.Object value,
int startRow,
int endRow,
int column,
int change,
boolean isEnd)
table - - this is the object from which this event is generated.
value - this is the value to the cell.
startRow - starting index of the rows changed.
endRow - last index of the rows changed.
column - the column that is changed.
change - this will specify the type of the change.
isEnd - this will specify whether end of Table is reached or not.
| Method Detail |
public int getFirstRow()
public int getLastRow()
public int getColumn()
public int getType()
public boolean isEndOfTable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||