Package org.graffiti.plugin.algorithm
Class AbstractAnimatedAlgorithm
java.lang.Object
org.graffiti.plugin.algorithm.AbstractAlgorithm
org.graffiti.plugin.algorithm.AbstractAnimatedAlgorithm
- All Implemented Interfaces:
UndoableEdit
,Algorithm
,AnimatedAlgorithm
public abstract class AbstractAnimatedAlgorithm extends AbstractAlgorithm implements AnimatedAlgorithm
Gives a standard implementation for the
execute()
method. This
implementation repeatedly calls nextStep()
without pauses.-
Constructor Summary
Constructors Constructor Description AbstractAnimatedAlgorithm()
-
Method Summary
Modifier and Type Method Description void
execute()
Executes the whole algorithm as one big step.Methods inherited from class org.graffiti.plugin.algorithm.AbstractAlgorithm
addEdit, attach, canRedo, canUndo, check, die, doesUndo, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getParameters, getPresentationName, getRedoPresentationName, getSetCategory, getUndoPresentationName, isAlwaysExecutable, isLayoutAlgorithm, isSignificant, markExecutionDone, markRedoDone, markUndoDone, mayWorkOnMultipleGraphs, redo, replaceEdit, reset, setActionEvent, setParameters, showMenuIcon, undo
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getName, getParameters, getSetCategory, isLayoutAlgorithm, mayWorkOnMultipleGraphs, reset, setActionEvent, setParameters, showMenuIcon
Methods inherited from interface org.graffiti.plugin.algorithm.AnimatedAlgorithm
animate, execute, isFinished, nextStep
-
Constructor Details
-
AbstractAnimatedAlgorithm
public AbstractAnimatedAlgorithm()
-
-
Method Details