Package de.intarsys.tools.event
Class AttributeChangedEvent
java.lang.Object
java.util.EventObject
de.intarsys.tools.event.Event
de.intarsys.tools.event.AttributeChangedEvent
- All Implemented Interfaces:
IEvent
,Serializable
An event representing an objects state change.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeChangedEvent
(Object source, Object attribute, Object oldValue, Object newValue) -
Method Summary
Modifier and TypeMethodDescriptionThe attribute slot that has changed.A type for this event.The new value of the attribute.The previous value of the attribute.toString()
Methods inherited from class de.intarsys.tools.event.Event
consume, getName, getRc, isConsumed, isVetoed, setRc, setVeto, veto
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
ID
-
-
Constructor Details
-
AttributeChangedEvent
-
-
Method Details
-
getAttribute
The attribute slot that has changed.- Returns:
- The attribute slot that has changed.
-
getEventType
Description copied from interface:IEvent
A type for this event.- Specified by:
getEventType
in interfaceIEvent
- Overrides:
getEventType
in classEvent
- Returns:
- A type for this event.
-
getNewValue
The new value of the attribute.- Returns:
- The new value of the attribute.
-
getOldValue
The previous value of the attribute.- Returns:
- The previous value of the attribute.
-
toString
- Overrides:
toString
in classEventObject
-