Interface PropertyUpdatedEvent
-
- All Superinterfaces:
org.refcodes.mixin.ActionAccessor<PropertyAction>
,org.refcodes.observer.GenericActionEvent<PropertyAction,ObservableProperties>
,org.refcodes.observer.GenericEvent<ObservableProperties>
,org.refcodes.mixin.KeyAccessor<java.lang.String>
,org.refcodes.structure.Property
,PropertyEvent
,org.refcodes.structure.Relation<java.lang.String,java.lang.String>
,org.refcodes.mixin.SourceAccessor<ObservableProperties>
,org.refcodes.mixin.ValueAccessor<java.lang.String>
- All Known Implementing Classes:
PropertyUpdatedEventImpl
public interface PropertyUpdatedEvent extends PropertyEvent
ThePropertyUpdatedEvent
is fired whenever an existing property (as ofKeys.containsKey(Object)
) is updated in the relatedObservableProperties
instance (as ofKeys.MutableValues.put(Object, Object)
or the like). APropertyUpdatedEvent
represents aProperty
with a key and a value (as ofKeyAccessor.getKey()
andValueAccessor.getValue()
) of the updated property and the previous value of the property, accessible viagetPreviousValue()
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Property
org.refcodes.structure.Property.PropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getPreviousValue()
Returns the value of the property which has been replaced by the value as ofValueAccessor.getValue()
.
-