Package com.nomagic.ui
Class ProgressStatusRunner
- java.lang.Object
 - 
- com.nomagic.ui.ProgressStatusRunner
 
 
- 
@OpenApiAll public class ProgressStatusRunner extends java.lang.ObjectRuns task with progress status.- See Also:
 RunnableWithProgress,ProgressStatus
 
- 
- 
Constructor Summary
Constructors Constructor Description ProgressStatusRunner() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrunWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel, int millisToShow)Executes runnable with progress status. 
 - 
 
- 
- 
Method Detail
- 
runWithProgressStatus
public static void runWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel, int millisToShow)
Executes runnable with progress status. All runtime exceptions from runnable are thrown from this method.- Parameters:
 runnable- runnable actually performing the task.description- title of progress bar.allowCancel- true if cancel should be enabled.millisToShow- amount of time before progress is displayed. Pass 0 if progress should be displayed without delay.- See Also:
 RunnableWithProgress,ProgressStatus
 
 - 
 
 -