Class PropertyEventImpl

    • 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>
    • Field Summary

      • Fields inherited from class org.refcodes.observer.AbstractActionEvent

        _action
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getKey()
      String getValue()
      • Methods inherited from class org.refcodes.observer.AbstractActionEvent

        getAction
      • Methods inherited from class org.refcodes.observer.AbstractEvent

        getSource
      • 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 Detail

      • PropertyEventImpl

        public PropertyEventImpl​(String aKey,
                                 String aValue,
                                 PropertyAction aAction,
                                 ObservableProperties aSource)
        Constructs a PropertyEventImpl 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.
        aAction - The action which the PropertyEvent represents.
        aSource - The source from which this event originated.
      • PropertyEventImpl

        public PropertyEventImpl​(org.refcodes.struct.Property aProperty,
                                 PropertyAction aAction,
                                 ObservableProperties aSource)
        Constructs a PropertyEventImpl 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.
        aAction - The action which the PropertyEvent represents.
        aSource - The source from which this event originated.
    • Method Detail

      • getKey

        public String getKey()
        Specified by:
        getKey in interface org.refcodes.mixin.KeyAccessor<String>
      • getValue

        public String getValue()
        Specified by:
        getValue in interface org.refcodes.mixin.ValueAccessor<String>