ObservedChangeEvent
public ObservedChangeEvent(IComponent component,
java.lang.String propertyName,
java.lang.Object newValue)
Creates the event. The new value must be null, or be a serializable object. (It is declared
as Object as a concession to the Java 2 collections framework, where the implementations are
serializable but the interfaces (Map, List, etc.) don't extend Serializable ... so we wait
until runtime to check).
- Parameters:
component
- The component (not necessarily a page) whose property changed.propertyName
- the name of the property which was changed.newValue
- The new value of the property.
- Throws:
java.lang.IllegalArgumentException
- if propertyName is null, or if the new value is not serializable