public class AttributeChangedEvent extends Event
Constructor and Description |
---|
AttributeChangedEvent(java.lang.Object source,
java.lang.Object attribute,
java.lang.Object oldValue,
java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute()
The attribute slot that has changed.
|
EventType |
getEventType()
A type for this event.
|
java.lang.Object |
getNewValue()
The new value of the attribute.
|
java.lang.Object |
getOldValue()
The previous value of the attribute.
|
java.lang.String |
toString() |
consume, getName, getRc, isConsumed, isVetoed, setRc, setVeto, veto
public static final EventType ID
public AttributeChangedEvent(java.lang.Object source, java.lang.Object attribute, java.lang.Object oldValue, java.lang.Object newValue)
public java.lang.Object getAttribute()
public EventType getEventType()
IEvent
getEventType
in interface IEvent
getEventType
in class Event
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public java.lang.String toString()
toString
in class java.util.EventObject