Class FxFlipBookBuilderImpl

java.lang.Object
javafx.scene.Node
javafx.scene.image.ImageView
org.refcodes.graphical.ext.javafx.FxFlipBookBuilderImpl
All Implemented Interfaces:
Styleable, EventTarget, org.refcodes.component.Ceasable, org.refcodes.component.Ceasable.UncheckedCeasable, org.refcodes.component.Destroyable, org.refcodes.component.Initializable, org.refcodes.component.Initializable.UncheckedInitializable, org.refcodes.component.LifeCycleComponent, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent, org.refcodes.component.Pausable, org.refcodes.component.Pausable.UncheckedPausable, org.refcodes.component.Resumable, org.refcodes.component.Resumable.UncheckedResumable, org.refcodes.component.Startable, org.refcodes.component.Startable.UncheckedStartable, org.refcodes.component.Stoppable, org.refcodes.component.Stoppable.UncheckedStoppable, FxFlipBookBuilder, org.refcodes.graphical.FlipBookBuilder<Image>

public class FxFlipBookBuilderImpl
extends ImageView
implements FxFlipBookBuilder
The class FxFlipBookBuilderImpl FxFlipBookBuilderImpl.AnimationDaemon implements animated image nodes similar to an animated GIF.
  • Constructor Details

    • FxFlipBookBuilderImpl

      public FxFlipBookBuilderImpl()
      Instantiates a new fx flip book builder impl.
  • Method Details

    • addStartUpImage

      public void addStartUpImage​(Image aImage)
      Specified by:
      addStartUpImage in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • addMainLoopImage

      public void addMainLoopImage​(Image aImage)
      Specified by:
      addMainLoopImage in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • addCeaseImage

      public void addCeaseImage​(Image aImage)
      Specified by:
      addCeaseImage in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • setImageDurationInMs

      public void setImageDurationInMs​(int aDurationInMs)
      Specified by:
      setImageDurationInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • getImageDurationInMs

      public int getImageDurationInMs()
      Specified by:
      getImageDurationInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • setStartUpDelayInMs

      public void setStartUpDelayInMs​(int aStartUpDelayInMs)
      Specified by:
      setStartUpDelayInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • getStartUpDelayInMs

      public int getStartUpDelayInMs()
      Specified by:
      getStartUpDelayInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
    • withImageDurationInMs

      public FxFlipBookBuilderImpl withImageDurationInMs​(int aDurationInMs)
      Specified by:
      withImageDurationInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
      Specified by:
      withImageDurationInMs in interface FxFlipBookBuilder
    • withStartUpDelayInMs

      public FxFlipBookBuilderImpl withStartUpDelayInMs​(int aStartUpDelayInMs)
      Specified by:
      withStartUpDelayInMs in interface org.refcodes.graphical.FlipBookBuilder<Image>
      Specified by:
      withStartUpDelayInMs in interface FxFlipBookBuilder
    • initialize

      public void initialize()
      Specified by:
      initialize in interface org.refcodes.component.Initializable
      Specified by:
      initialize in interface org.refcodes.component.Initializable.UncheckedInitializable
    • start

      public void start()
      Specified by:
      start in interface org.refcodes.component.Startable
      Specified by:
      start in interface org.refcodes.component.Startable.UncheckedStartable
    • pause

      public void pause()
      Specified by:
      pause in interface org.refcodes.component.Pausable
      Specified by:
      pause in interface org.refcodes.component.Pausable.UncheckedPausable
    • resume

      public void resume()
      Specified by:
      resume in interface org.refcodes.component.Resumable
      Specified by:
      resume in interface org.refcodes.component.Resumable.UncheckedResumable
    • stop

      public void stop()
      Specified by:
      stop in interface org.refcodes.component.Stoppable
      Specified by:
      stop in interface org.refcodes.component.Stoppable.UncheckedStoppable
    • cease

      public void cease()
      Specified by:
      cease in interface org.refcodes.component.Ceasable
      Specified by:
      cease in interface org.refcodes.component.Ceasable.UncheckedCeasable
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.refcodes.component.Destroyable