Dialog to report on the progress of any background Worker.Worker finishes, the Progress Dialog automatically closes.
| Modifier and Type | Class and Description |
|---|---|
| private static class | ProgressDialog.
The WorkerProgressPane takes a |
| Access | Constructor and Description |
|---|---|
| public |
| ProgressDialog | back to summary |
|---|---|
| public ProgressDialog(final Worker<?> worker) | |
Dialog and a Worker
and links them together so the dialog is shown or hidden depending
on the state of the worker. The WorkerProgressPane also includes
a progress bar that is automatically bound to the progress property
of the worker. The way in which the WorkerProgressPane shows and
hides its worker's dialog is consistent with the expected behavior
for showWorkerProgress(Worker).
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final ProgressDialog | |
| private boolean | |
| private final ProgressBar | |
| private ChangeListener | |
| private Worker |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| public final void |
| cancelDialogShow | back to summary |
|---|---|
| private boolean cancelDialogShow | |
| dialog | back to summary |
|---|---|
| private final ProgressDialog dialog | |
| dialogVisible | back to summary |
|---|---|
| private boolean dialogVisible | |
| progressBar | back to summary |
|---|---|
| private final ProgressBar progressBar | |
| stateListener | back to summary |
|---|---|
| private ChangeListener<Worker. | |
| worker | back to summary |
|---|---|
| private Worker<?> worker | |
| WorkerProgressPane | back to summary |
|---|---|
| public WorkerProgressPane(ProgressDialog dialog) | |
| begin | back to summary |
|---|---|
| private void begin() | |
| end | back to summary |
|---|---|
| private void end() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| setWorker | back to summary |
|---|---|
| public final void setWorker(final Worker<?> newWorker) | |