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
 
 public abstract static class ProgressDialog.ProgressTask extends java.lang.Object implements ProgressListener 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleancanceledprotected ProgressDialogdialog
 - 
Constructor SummaryConstructors Constructor Description ProgressTask()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleanallowsCancel()booleanisCanceled()protected abstract java.lang.Objectrun()voidsetIndeterminate(boolean bool)Allows the object performing the action to indicate that it won't be able to report back progress information.voidsetNote(java.lang.String note)Sets 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 Detail- 
dialogprotected ProgressDialog dialog 
 - 
canceledprotected boolean canceled 
 
- 
 - 
Method Detail- 
setProgressDialogpublic void setProgressDialog(ProgressDialog dialog) 
 - 
setProgressMaxpublic 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 interface- ProgressListener
 
 - 
setProgresspublic 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 interface- ProgressListener
 
 - 
setNotepublic void setNote(java.lang.String note) Description copied from interface:ProgressListenerSets some sort of note or information about the current position.- Specified by:
- setNotein interface- ProgressListener
 
 - 
setIndeterminatepublic 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 interface- ProgressListener
 
 - 
runprotected abstract java.lang.Object run() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
allowsCancelprotected boolean allowsCancel() 
 - 
isCanceledpublic boolean isCanceled() 
 
- 
 
-