Class ProgressDialog.ProgressTask
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.ProgressDialog.ProgressTask
- All Implemented Interfaces:
ProgressListener
- Direct Known Subclasses:
ProjectOpenTask,PullTask,PushTask
- Enclosing class:
- ProgressDialog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanprotected abstract Objectrun()voidsetIndeterminate(boolean bool) Allows the object performing the action to indicate that it won't be able to report back progress information.voidSets some sort of note or information about the current position.voidsetProgress(int val) Used to update the current progress value, should be between 0 and the value sent to setProgressMax.voidsetProgressDialog(ProgressDialog dialog) voidsetProgressMax(int max) Used to indicate the upper bound of value that will be passed to setProgress.
-
Field Details
-
dialog
-
canceled
protected boolean canceled
-
-
Constructor Details
-
ProgressTask
public ProgressTask()
-
-
Method Details
-
setProgressDialog
-
setProgressMax
public void setProgressMax(int max) Description copied from interface:ProgressListenerUsed to indicate the upper bound of value that will be passed to setProgress.- Specified by:
setProgressMaxin interfaceProgressListener
-
setProgress
public void setProgress(int val) Description copied from interface:ProgressListenerUsed to update the current progress value, should be between 0 and the value sent to setProgressMax.- Specified by:
setProgressin interfaceProgressListener
-
setNote
Description copied from interface:ProgressListenerSets some sort of note or information about the current position.- Specified by:
setNotein interfaceProgressListener
-
setIndeterminate
public void setIndeterminate(boolean bool) Description copied from interface:ProgressListenerAllows the object performing the action to indicate that it won't be able to report back progress information.- Specified by:
setIndeterminatein interfaceProgressListener
-
run
- Throws:
Exception
-
allowsCancel
protected boolean allowsCancel() -
isCanceled
public boolean isCanceled()
-