Package com.streambase.liveview.client
Class NullProgressMonitor
java.lang.Object
com.streambase.liveview.client.NullProgressMonitor
- All Implemented Interfaces:
ProgressMonitor
-
Field Summary
Fields inherited from interface com.streambase.liveview.client.ProgressMonitor
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis implementation does nothing.voidcancel()This implementation sets the value of an internal state variable.voiddone()This implementation does nothing.booleanThis implementation returns the value of the internal state variable set bysetCanceled.voidThis implementation does nothing.voidworked(int work) This implementation does nothing.
-
Constructor Details
-
NullProgressMonitor
public NullProgressMonitor()Constructs a new progress monitor.
-
-
Method Details
-
beginTask
This implementation does nothing.- Specified by:
beginTaskin interfaceProgressMonitor- Parameters:
name- the name of the tasktotalWork- the total steps to complete the task
-
done
public void done()This implementation does nothing.- Specified by:
donein interfaceProgressMonitor
-
isCanceled
public boolean isCanceled()This implementation returns the value of the internal state variable set bysetCanceled.- Specified by:
isCanceledin interfaceProgressMonitor- Returns:
- true if client cancelled the request
-
cancel
public void cancel()This implementation sets the value of an internal state variable.- Specified by:
cancelin interfaceProgressMonitor
-
subTask
This implementation does nothing.- Specified by:
subTaskin interfaceProgressMonitor
-
worked
public void worked(int work) This implementation does nothing.- Specified by:
workedin interfaceProgressMonitor- Parameters:
work- the amount done on the current task
-