|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.alg.AbstractAlgorithm
public abstract class AbstractAlgorithm
Superclass for algorithms used in the KIELER project. This class stores a reference to the currently used progress monitor.
IKielerProgressMonitor
Constructor Summary | |
---|---|
AbstractAlgorithm()
|
Method Summary | |
---|---|
protected IKielerProgressMonitor |
getMonitor()
Returns a progress monitor that can be used by subclasses. |
void |
reset()
Removes the associated progress monitor. |
void |
reset(IKielerProgressMonitor monitor)
Reset the internal state and set the progress monitor for the algorithm. |
void |
setProgressMonitor(IKielerProgressMonitor monitor)
Set the progress monitor for the algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAlgorithm()
Method Detail |
---|
public void reset()
super.reset()
.
reset
in interface IAlgorithm
public final void reset(IKielerProgressMonitor monitor)
reset
in interface IAlgorithm
monitor
- the progress monitorpublic final void setProgressMonitor(IKielerProgressMonitor monitor)
setProgressMonitor
in interface IAlgorithm
monitor
- the progress monitorprotected final IKielerProgressMonitor getMonitor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |