Class PamWorkerProgressFX

java.lang.Object
PamUtils.worker.PamWorkerProgressFX

public class PamWorkerProgressFX extends Object
Worker update message with property to allow FX bindings (e.g. binding to a progress bar)
Author:
Jamie Macaulay
  • Constructor Details

    • PamWorkerProgressFX

      public PamWorkerProgressFX()
  • Method Details

    • getProgressProperty

      public javafx.beans.property.DoubleProperty getProgressProperty()
      Get the progress property.
      Returns:
      the progress property.
    • getMessageProperty

      public javafx.beans.property.StringProperty getMessageProperty()
      Get the message property. for update messages.
      Returns:
      the message property.
    • update

      public void update(PamWorkProgressMessage msg)
      Update with a swing worker message.
      Parameters:
      msg - - the message.
    • updateProgress

      public void updateProgress(double d)
      Update progress between 0 and 1/
      Parameters:
      d -