public static class InstanceContainer.ItemPropertyChangeEvent<T extends Entity>
extends java.util.EventObject
Constructor and Description |
---|
ItemPropertyChangeEvent(InstanceContainer<T> container,
T item,
java.lang.String property,
java.lang.Object prevValue,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
T |
getItem()
Returns an entity instance which property value was changed.
|
java.lang.Object |
getPrevValue()
Returns the previous value of the entity property.
|
java.lang.String |
getProperty()
Returns the property name.
|
InstanceContainer<T> |
getSource()
Returns the container which sent the event.
|
java.lang.Object |
getValue()
Returns the current value of the entity property.
|
java.lang.String |
toString() |
public ItemPropertyChangeEvent(InstanceContainer<T> container, T item, java.lang.String property, java.lang.Object prevValue, java.lang.Object value)
public InstanceContainer<T> getSource()
getSource
in class java.util.EventObject
public T getItem()
public java.lang.String getProperty()
@Nullable public java.lang.Object getPrevValue()
@Nullable public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.util.EventObject