org.topbraid.base.progress
Class NullProgressMonitor
java.lang.Object
org.topbraid.base.progress.NullProgressMonitor
- All Implemented Interfaces:
- ProgressMonitor
public class NullProgressMonitor
- extends Object
- implements ProgressMonitor
A ProgressMonitor that doesn't "do" anything.
Support for canceling is provided via setCanceled.
- Author:
- Holger Knublauch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullProgressMonitor
public NullProgressMonitor()
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled in interface ProgressMonitor
beginTask
public void beginTask(String label,
int totalWork)
- Specified by:
beginTask in interface ProgressMonitor
done
public void done()
- Specified by:
done in interface ProgressMonitor
setCanceled
public void setCanceled(boolean value)
- Specified by:
setCanceled in interface ProgressMonitor
setTaskName
public void setTaskName(String value)
- Specified by:
setTaskName in interface ProgressMonitor
subTask
public void subTask(String label)
- Specified by:
subTask in interface ProgressMonitor
worked
public void worked(int amount)
- Specified by:
worked in interface ProgressMonitor
Copyright © 2011 TopQuadrant, Inc.. All Rights Reserved.