Class PendingTasksMonitor

java.lang.Object
com.iamsoft.util.ui.javafx.PendingTasksMonitor

public class PendingTasksMonitor extends Object
A helper class which can be used to monitor the completion of the added tasks.
  • Property Details

    • pending

      public javafx.beans.property.ReadOnlyObjectProperty<Boolean> pendingProperty
    • pendingTaskCount

      public javafx.beans.property.ReadOnlyObjectProperty<Integer> pendingTaskCountProperty
      See Also:
  • Constructor Details

    • PendingTasksMonitor

      public PendingTasksMonitor()
  • Method Details

    • pendingProperty

      public javafx.beans.property.ReadOnlyObjectProperty<Boolean> pendingProperty()
    • isPending

      public boolean isPending()
    • pendingTaskCountProperty

      public javafx.beans.property.ReadOnlyObjectProperty<Integer> pendingTaskCountProperty()
      See Also:
    • getPendingTaskCount

      public int getPendingTaskCount()
      Gets the value of the property pendingTaskCount.
      Property description:
    • addPendingTask

      public void addPendingTask(javafx.concurrent.Task<? extends Object> pTask)