Package org.gephi.filters.api
Interface PropertyExecutor
-
public interface PropertyExecutorPropertyExecutor'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
Nested Classes Modifier and Type Interface Description static interfacePropertyExecutor.CallbackCallback interface for setting value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetValue(FilterProperty property, Object value, PropertyExecutor.Callback callback)Setvalueonpropertyin a safe way by usingcallback.
-
-
-
Method Detail
-
setValue
void setValue(FilterProperty property, Object value, PropertyExecutor.Callback callback)
Setvalueonpropertyin a safe way by usingcallback.- Parameters:
property- the filter property that value is to be setvalue- the value that is to be setcallback- the callback function to be notified when setting has to be done
-
-