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 Details

    • AbstractAnimatedAlgorithm

      public AbstractAnimatedAlgorithm()
  • Method Details

    • execute

      public void execute()
      Executes the whole algorithm as one big step. This is the standard implementation that calls nextStep() repeatedly without pauses inbetween.
      Specified by:
      execute in interface Algorithm