java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<PropertyAction,ObservableProperties>
org.refcodes.properties.ext.observer.PropertyEvent
org.refcodes.properties.ext.observer.PropertyCreatedEvent
All Implemented Interfaces:
org.refcodes.mixin.ActionAccessor<PropertyAction>, org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.SourceAccessor<ObservableProperties>, org.refcodes.mixin.ValueAccessor<String>, org.refcodes.observer.ActionEvent<PropertyAction,ObservableProperties>, org.refcodes.observer.Event<ObservableProperties>, org.refcodes.struct.Property, org.refcodes.struct.Relation<String,String>

public class PropertyCreatedEvent extends PropertyEvent
The PropertyCreatedEvent is fired whenever a property is created in the related ObservableProperties instance (as of CanonicalMap.MutableCanonicalMap.put(Object, String) or the like). A PropertyCreatedEvent represents a Property with a key and a value (as of KeyAccessor.getKey() and ValueAccessor.getValue()) of the created property.
  • 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.SourceBuilder<SRC extends Object,B extends org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC,B>>, 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>
  • Field Summary

    Fields inherited from class org.refcodes.observer.AbstractActionEvent

    _action
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a PropertyCreatedEvent with the given key and value representing the affected Property.
    PropertyCreatedEvent(org.refcodes.struct.Property aProperty, ObservableProperties aSource)
    Constructs a PropertyCreatedEvent with the given key and value representing the affected Property.
  • Method Summary

    Methods inherited from class org.refcodes.properties.ext.observer.PropertyEvent

    getKey, getValue

    Methods inherited from class org.refcodes.observer.AbstractActionEvent

    getAction

    Methods inherited from class org.refcodes.observer.AbstractEvent

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.ActionAccessor

    getAction

    Methods inherited from interface org.refcodes.struct.Property

    toProperty

    Methods inherited from interface org.refcodes.mixin.SourceAccessor

    getSource

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValueOr
  • Constructor Details

    • PropertyCreatedEvent

      public PropertyCreatedEvent(org.refcodes.struct.Property aProperty, ObservableProperties aSource)
      Constructs a PropertyCreatedEvent with the given key and value representing the affected Property.
      Parameters:
      aProperty - The key and value pair of the Property being involved in the event.
      aSource - The source from which this event originated.
    • PropertyCreatedEvent

      public PropertyCreatedEvent(String aKey, String aValue, ObservableProperties aSource)
      Constructs a PropertyCreatedEvent with the given key and value representing the affected Property.
      Parameters:
      aKey - The key of the Property being involved in the event.
      aValue - The value of the Property being involved in the event.
      aSource - The source from which this event originated.