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
public class AttributeChangedEvent
- extends Event
An event representing an objects state change.
- See Also:
- Serialized Form
Fields inherited from class de.intarsys.tools.event.Event |
ID_ALL |
ID
public static final EventType ID
AttributeChangedEvent
public AttributeChangedEvent(Object source,
Object attribute,
Object oldValue,
Object newValue)
getAttribute
public Object getAttribute()
- The attribute slot that has changed.
- Returns:
- The attribute slot that has changed.
getEventType
public EventType getEventType()
- Description copied from interface:
IEvent
- A type for this event.
- Specified by:
getEventType
in interface IEvent
- Overrides:
getEventType
in class Event
- Returns:
- A type for this event.
getNewValue
public Object getNewValue()
- The new value of the attribute.
- Returns:
- The new value of the attribute.
getOldValue
public Object getOldValue()
- The previous value of the attribute.
- Returns:
- The previous value of the attribute.
toString
public String toString()
- Overrides:
toString
in class EventObject
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.