Class FxFlipBookBuilderImpl

  • All Implemented Interfaces:
    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<javafx.scene.image.Image>


    public class FxFlipBookBuilderImpl
    extends javafx.scene.image.ImageView
    implements FxFlipBookBuilder
    The class FxFlipBookBuilderImpl FxFlipBookBuilderImpl.AnimationDaemon implements animated image nodes similar to an animated GIF.
    • 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
      FxFlipBookBuilderImpl​()
      Instantiates a new fx flip book builder impl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 cease​()
      void destroy​()
      int getImageDurationInMs​()
      int getStartUpDelayInMs​()
      void initialize​()
      void pause​()
      void resume​()
      void setImageDurationInMs​(int aDurationInMs)
      void setStartUpDelayInMs​(int aStartUpDelayInMs)
      void start​()
      void stop​()
      FxFlipBookBuilderImpl withImageDurationInMs​(int aDurationInMs)
      FxFlipBookBuilderImpl withStartUpDelayInMs​(int aStartUpDelayInMs)
      • Methods inherited from interface org.refcodes.component.Ceasable

        ceaseUnchecked
      • Methods inherited from interface org.refcodes.graphical.FlipBookBuilder

        addCeaseSequence, addMainLoopSequence, addStartUpSequence, withCeaseImage, withCeaseSequence, withMainLoopImage, withMainLoopSequence, withStartUpImage, withStartUpSequence
      • 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 interface org.refcodes.component.Initializable

        initializeUnchecked
      • 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.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 Detail

      • FxFlipBookBuilderImpl

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

      • 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>
      • 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