public class TaskState
extends java.lang.Object
| Constructor and Description |
|---|
TaskState() |
| Modifier and Type | Method and Description |
|---|---|
double |
getMaxProgress()
Returns the max progress value.
|
double |
getProgress()
Returns the current progress of the task.
|
javafx.beans.property.DoubleProperty |
maxProgress()
Returns a property that defines the maximum value that the progress value can reach
|
javafx.beans.property.DoubleProperty |
progress()
Returns a property that defines the current progress of the task.
|
void |
setMaxProgress(double maxProgress)
Sets the max progress value.
|
void |
setProgress(double progress)
Sets the current progress of the task.
|
javafx.beans.value.ObservableStringValue |
title()
Returns a property that defines the title of the task.
|
public javafx.beans.property.DoubleProperty maxProgress()
public void setMaxProgress(double maxProgress)
maxProgress - the max progress valuepublic double getMaxProgress()
public javafx.beans.property.DoubleProperty progress()
public double getProgress()
public void setProgress(double progress)
progress - the current progresspublic javafx.beans.value.ObservableStringValue title()