Class AbortableBackgroundTask<T>
java.lang.Object
net.jalbum.util.AbortableBackgroundTask<T>
Mechanism to run a possibly long running background task that allows the user to abort it
through the JProgressManager component. Will show task status in JProgressManager after
millisToPopup time has passed.
- Since:
- 25.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidvoidsetMillisToPopup(int millisToPopup) voidsetSubMessage(String message)
-
Constructor Details
-
AbortableBackgroundTask
-
-
Method Details
-
removeTaskStatus
public void removeTaskStatus() -
setSubMessage
-
onAbort
-
getMillisToPopup
public int getMillisToPopup() -
setMillisToPopup
public void setMillisToPopup(int millisToPopup) -
call
- Throws:
ExceptionOperationAbortedException
-