net.sf.rej
Class AbstractIteratorAgent
java.lang.Object
net.sf.rej.AbstractIteratorAgent
- All Implemented Interfaces:
- IteratorAgent
- Direct Known Subclasses:
- DefaultMatcher, IteratorAgentAdapter
public abstract class AbstractIteratorAgent
- extends java.lang.Object
- implements IteratorAgent
AbstractIteratorAgent
is an abstract implementation of the
IteratorAgent
interface providing a method for setting a
ProgressMonitor
and calling the ProgressMonitor
's
method to inform it about progress.
- Author:
- Sami Koivu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.rej.gui.IteratorAgent |
finished, postProcessFile, processAttribute, processClass, processConstantPoolInfo, processException, processField, processFile, processInstruction, processInterface, processLocalVariable, processMethod |
AbstractIteratorAgent
public AbstractIteratorAgent()
setProgressMonitor
public void setProgressMonitor(ProgressMonitor pm)
- Sets the the
ProgressMonitor
instance to receive notifications on
progress.
- Parameters:
pm
- monitor to which notification on progress are delegated to.
progressed
public void progressed(int progressPct)
- Specified by:
progressed
in interface IteratorAgent
scopeChanged
public void scopeChanged(int min,
int max)
- Specified by:
scopeChanged
in interface IteratorAgent