|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jcreme.reporting.DataChangeEvent
This event signals that some data in the datasource has changed.
Field Summary | |
static int |
DELETE
Signals the change is deletion of Data. |
static int |
NEW
Signals the change is new Data. |
static int |
UPDATE
Signals the change is an update of existing Data. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DataChangeEvent(java.lang.Object src,
java.lang.Object data)
Creates a new instance of DataChangeEvent |
|
DataChangeEvent(java.lang.Object src,
java.lang.Object data,
int t)
Creates a new instance of DataChangeEvent |
Method Summary | |
java.lang.Object |
getData()
This method gives access to the type of the change. |
int |
getType()
Gives access to the type of change this event reports. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UPDATE
public static final int NEW
public static final int DELETE
Constructor Detail |
public DataChangeEvent(java.lang.Object src, java.lang.Object data)
src
- the source of the event.data
- the data that changed in the source.public DataChangeEvent(java.lang.Object src, java.lang.Object data, int t)
src
- the source of the event.data
- the data that changed in the source.t
- the type of the event.Method Detail |
public java.lang.Object getData()
public int getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |