Interface PropertyUpdatedEvent
-
- All Superinterfaces:
org.refcodes.mixin.ActionAccessor<PropertyAction>
,org.refcodes.observer.GenericActionEvent<PropertyAction,ObservableProperties>
,org.refcodes.observer.GenericEvent<ObservableProperties>
,org.refcodes.mixin.KeyAccessor<String>
,org.refcodes.struct.Property
,PropertyEvent
,org.refcodes.struct.Relation<String,String>
,org.refcodes.mixin.SourceAccessor<ObservableProperties>
,org.refcodes.mixin.ValueAccessor<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 Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Property
org.refcodes.struct.Property.PropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Relation
org.refcodes.struct.Relation.RelationBuilder<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPreviousValue()
Returns the value of the property which has been replaced by the value as ofValueAccessor.getValue()
.
-
-
-
Method Detail
-
getPreviousValue
String getPreviousValue()
Returns the value of the property which has been replaced by the value as ofValueAccessor.getValue()
.- Returns:
- The previously set value before it has been changed.
-
-