Package docking.widgets.table.threaded
Class AddRemoveJob<T>
java.lang.Object
docking.widgets.table.threaded.TableUpdateJob<T>
docking.widgets.table.threaded.AddRemoveJob<T>
-
Field Summary
Fields inherited from class docking.widgets.table.threaded.TableUpdateJob
addRemoveList
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tells the job that the filter criteria has changed.Methods inherited from class docking.widgets.table.threaded.TableUpdateJob
addRemove, cancel, reload, requestSort, run, setData, setForceFilter, toString
-
Method Details
-
requestFilter
public boolean requestFilter()Description copied from class:TableUpdateJob
Tells the job that the filter criteria has changed. This method can be called on the currently running job as well as the pending job. If called on the running job, the effect depends on the running job's state:- If the filter state hasn't happened yet, then nothing needs to be done as this job will filter later anyway.
- If the filter state has already been started or completed, then this method attempts to stop the current process phase and cause the state machine to return to the filter phase.
- If the current job has already entered the DONE state, then the filter cannot take effect in this job and a false value is returned to indicate the filter was not handled by this job.
- Overrides:
requestFilter
in classTableUpdateJob<T>
- Returns:
- true if the filter can be processed by this job, false if this job is essentially already completed and therefore cannot perform the filter job.
-