Package PamUtils.worker
Class PamWorkerProgressFX
java.lang.Object
PamUtils.worker.PamWorkerProgressFX
Worker update message with property to allow FX bindings (e.g. binding to a progress bar)
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.StringPropertyGet the message property.javafx.beans.property.DoublePropertyGet the progress property.voidUpdate with a swing worker message.voidupdateProgress(double d) Update progress between 0 and 1/ 
- 
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
Update with a swing worker message.- Parameters:
 msg- - the message.
 - 
updateProgress
public void updateProgress(double d) Update progress between 0 and 1/- Parameters:
 d-
 
 -