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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This implementation does nothing.void
cancel()
This implementation sets the value of an internal state variable.void
done()
This implementation does nothing.boolean
This implementation returns the value of the internal state variable set bysetCanceled
.void
This implementation does nothing.void
worked
(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:
beginTask
in 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:
done
in interfaceProgressMonitor
-
isCanceled
public boolean isCanceled()This implementation returns the value of the internal state variable set bysetCanceled
.- Specified by:
isCanceled
in interfaceProgressMonitor
- Returns:
- true if client cancelled the request
-
cancel
public void cancel()This implementation sets the value of an internal state variable.- Specified by:
cancel
in interfaceProgressMonitor
-
subTask
This implementation does nothing.- Specified by:
subTask
in interfaceProgressMonitor
-
worked
public void worked(int work) This implementation does nothing.- Specified by:
worked
in interfaceProgressMonitor
- Parameters:
work
- the amount done on the current task
-