Klasse ImageGenerator

java.lang.Object
ch.nolix.core.programcontrol.future.AbstractFuture
ch.nolix.tech.math.fractal.ImageGenerator
Alle implementierten Schnittstellen:
IFuture, FinishRequestable, IImageGenerator

public final class ImageGenerator extends AbstractFuture implements IImageGenerator
Autor:
Silvan Wyss
  • Methodendetails

    • forFractal

      public static ImageGenerator forFractal(IFractal fractal)
    • caughtError

      public boolean caughtError()
      Angegeben von:
      caughtError in Schnittstelle IFuture
      Gibt zurück:
      true if the current IFuture caught an error, false otherwise.
    • getError

      public Throwable getError()
      Angegeben von:
      getError in Schnittstelle IFuture
      Gibt zurück:
      the error of the current IFuture.
    • getStoredImage

      public MutableImage getStoredImage()
      Angegeben von:
      getStoredImage in Schnittstelle IImageGenerator
    • isFinished

      public boolean isFinished()
      Angegeben von:
      isFinished in Schnittstelle FinishRequestable
      Gibt zurück:
      true if the current FinishRequestable is finished, false otherwise.
    • waitUntilIsFinished

      public void waitUntilIsFinished()
      Beschreibung aus Schnittstelle kopiert: IFuture
      Lets the current IFuture wait until it is finished.
      Angegeben von:
      waitUntilIsFinished in Schnittstelle IFuture
    • waitUntilIsFinished

      public void waitUntilIsFinished(int timeoutInMilliseconds)
      Beschreibung aus Schnittstelle kopiert: IFuture
      Lets the current IFuture wait until it is finished within the given timeoutInMilliseconds.
      Angegeben von:
      waitUntilIsFinished in Schnittstelle IFuture
      Parameter:
      timeoutInMilliseconds -