T - The type of the values that are obtained.public abstract class PublishingTask<T> extends javafx.concurrent.Task<javafx.collections.ObservableList<T>> implements Publisher<T>
getPublishedValues() call.exceptionProperty, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, runningProperty, stateProperty, titleProperty, totalWorkProperty, valueProperty, workDoneProperty| Constructor and Description |
|---|
PublishingTask() |
PublishingTask(javafx.collections.ObservableList<T> values) |
| Modifier and Type | Method and Description |
|---|---|
protected javafx.collections.ObservableList<T> |
call() |
protected abstract void |
callTask() |
javafx.collections.ObservableList<T> |
getPublishedValues() |
void |
publish(T... values) |
addEventFilter, addEventHandler, buildEventDispatchChain, cancel, cancel, cancelled, exceptionProperty, failed, fireEvent, getException, getMessage, getOnCancelled, getOnFailed, getOnRunning, getOnScheduled, getOnSucceeded, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, removeEventFilter, removeEventHandler, running, runningProperty, scheduled, setEventHandler, setOnCancelled, setOnFailed, setOnRunning, setOnScheduled, setOnSucceeded, stateProperty, succeeded, titleProperty, totalWorkProperty, updateMessage, updateProgress, updateProgress, updateTitle, updateValue, valueProperty, workDonePropertypublic PublishingTask()
public PublishingTask(javafx.collections.ObservableList<T> values)
public javafx.collections.ObservableList<T> getPublishedValues()
protected final javafx.collections.ObservableList<T> call() throws java.lang.Exception
call in class javafx.concurrent.Task<javafx.collections.ObservableList<T>>java.lang.Exceptionprotected abstract void callTask()
throws java.lang.Exception
java.lang.Exception