Interface PropertyExecutor


  • public interface PropertyExecutor
    PropertyExecutor's role is to synchronize property edition with filter execution. When a filter is executed it usually uses properties users can edit. Editing properties values while a filter is executing in another thread could make uncertain behaviour. This executor is responsible to postpone value edition until filter's execution is finished.
    Author:
    Mathieu Bastian
    See Also:
    FilterProperty
    • Method Detail

      • setValue

        void setValue​(FilterProperty property,
                      Object value,
                      PropertyExecutor.Callback callback)
        Set value on property in a safe way by using callback.
        Parameters:
        property - the filter property that value is to be set
        value - the value that is to be set
        callback - the callback function to be notified when setting has to be done