Class FxFlipBookBuilder

java.lang.Object
javafx.scene.Node
javafx.scene.image.ImageView
org.refcodes.graphical.ext.javafx.FxFlipBookBuilder
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.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, org.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>

public class FxFlipBookBuilder extends javafx.scene.image.ImageView implements org.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
The class FxFlipBookBuilder FxFlipBookBuilder.AnimationDaemon implements animated image nodes similar to an animated GIF.
  • Property Summary

    Properties inherited from class javafx.scene.image.ImageView

    fitHeight, fitWidth, image, preserveRatio, smooth, viewport, x, y

    Properties inherited from class javafx.scene.Node

    accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.refcodes.component.Ceasable

    org.refcodes.component.Ceasable.CeaseAutomaton, org.refcodes.component.Ceasable.CeaseBuilder<B extends org.refcodes.component.Ceasable.CeaseBuilder<B>>, org.refcodes.component.Ceasable.UncheckedCeasable

    Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable

    org.refcodes.component.Destroyable.DestroyAutomaton

    Nested classes/interfaces inherited from interface org.refcodes.component.Initializable

    org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable

    Nested classes/interfaces inherited from interface org.refcodes.component.LifecycleComponent

    org.refcodes.component.LifecycleComponent.LifecycleAutomaton, org.refcodes.component.LifecycleComponent.UncheckedLifecycleComponent

    Nested classes/interfaces inherited from interface org.refcodes.component.Pausable

    org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable

    Nested classes/interfaces inherited from interface org.refcodes.component.Resumable

    org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumable

    Nested classes/interfaces inherited from interface org.refcodes.component.Startable

    org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartable

    Nested classes/interfaces inherited from interface org.refcodes.component.Stoppable

    org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppable
  • Field Summary

    Fields inherited from class javafx.scene.image.ImageView

    SMOOTH_DEFAULT

    Fields inherited from class javafx.scene.Node

    BASELINE_OFFSET_SAME_AS_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new fx flip book builder impl.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCeaseImage(javafx.scene.image.Image aImage)
    void
    addMainLoopImage(javafx.scene.image.Image aImage)
    void
    addStartUpImage(javafx.scene.image.Image aImage)
    void
    void
    int
    int
    void
    void
    void
    void
    setImageDurationInMs(int aDurationInMs)
    void
    setStartUpDelayInMs(int aStartUpDelayInMs)
    void
    void
    withImageDurationInMs(int aDurationInMs)
    withStartUpDelayInMs(int aStartUpDelayInMs)

    Methods inherited from class javafx.scene.image.ImageView

    fitHeightProperty, fitWidthProperty, getClassCssMetaData, getCssMetaData, getFitHeight, getFitWidth, getImage, getViewport, getX, getY, imageProperty, isPreserveRatio, isSmooth, preserveRatioProperty, setFitHeight, setFitWidth, setImage, setPreserveRatio, setSmooth, setViewport, setX, setY, smoothProperty, viewportProperty, xProperty, yProperty

    Methods inherited from class javafx.scene.Node

    accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBaselineOffset, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isResizable, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookup, lookupAll, managedProperty, maxHeight, maxWidth, minHeight, minWidth, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, prefHeight, prefWidth, pressedProperty, pseudoClassStateChanged, queryAccessibleAttribute, relocate, removeEventFilter, removeEventHandler, requestFocus, resize, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.refcodes.component.Ceasable

    ceaseUnchecked

    Methods inherited from interface org.refcodes.graphical.FlipBookBuilder

    addCeaseSequence, addMainLoopSequence, addStartUpSequence, withAddCeaseImage, withAddCeaseSequence, withAddMainLoopImage, withAddMainLoopSequence, withAddStartUpImage, withAddStartUpSequence

    Methods inherited from interface org.refcodes.component.Initializable

    initializeUnchecked

    Methods inherited from interface org.refcodes.component.Pausable

    pauseUnchecked

    Methods inherited from interface org.refcodes.component.Resumable

    resumeUnchecked

    Methods inherited from interface org.refcodes.component.Startable

    startUnchecked

    Methods inherited from interface org.refcodes.component.Stoppable

    stopUnchecked

    Methods inherited from interface javafx.css.Styleable

    getStyleableNode
  • Constructor Details

    • FxFlipBookBuilder

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

    • addStartUpImage

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

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

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

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

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

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

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

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

      public FxFlipBookBuilder withStartUpDelayInMs(int aStartUpDelayInMs)
      Specified by:
      withStartUpDelayInMs in interface org.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
    • 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