Package com.nomagic.magicreport.engine
Class ObserverEvent
java.lang.Object
com.nomagic.magicreport.engine.ObserverEvent
- All Implemented Interfaces:
Serializable
A "ObserverEvent" event gets delivered whenever a engine has changed. A
ObserverEvent object is
sent as an argument to the AbstractTemplateEngine.notifyObservers(Object) method.- Since:
- Aug 9, 2007
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObserverEvent(Object source, String id, String name, Object object) Constructs a new ObserverEvent. -
Method Summary
-
Constructor Details
-
ObserverEvent
Constructs a new ObserverEvent.- Parameters:
source- The engine that fired the event.id- The id of the event that was changed.name- The programmatic name of the event that was changed.object- The new value of the event
-
-
Method Details
-
getSource
Return a source.- Returns:
- the source
-
getId
Return a id.- Returns:
- the id
-
getName
Return a name.- Returns:
- the name
-
getObject
Return a object.- Returns:
- the object
-