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
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 setvalue
- the value that is to be setcallback
- the callback function to be notified when setting has to
be done