Gephi Toolkit Javadoc

org.gephi.filters.api
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

Nested Class Summary
static interface PropertyExecutor.Callback
          Callback interface for setting value.
 
Method Summary
 void setValue(FilterProperty property, java.lang.Object value, PropertyExecutor.Callback callback)
          Set value on property in a safe way by using callback.
 

Method Detail

setValue

void setValue(FilterProperty property,
              java.lang.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

Gephi Toolkit Javadoc