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.-
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.UncheckedCeasableNested classes/interfaces inherited from interface org.refcodes.component.Destroyable
org.refcodes.component.Destroyable.DestroyAutomatonNested 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.UncheckedInitializableNested classes/interfaces inherited from interface org.refcodes.component.LifecycleComponent
org.refcodes.component.LifecycleComponent.LifecycleAutomaton, org.refcodes.component.LifecycleComponent.UncheckedLifecycleComponentNested 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.UncheckedPausableNested 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.UncheckedResumableNested 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.UncheckedStartableNested 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 -
Property Summary
Properties inherited from class javafx.scene.image.ImageView
fitHeight, fitWidth, image, preserveRatio, smooth, viewport, x, yProperties 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, focusVisible, focusWithin, 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 -
Field Summary
Fields inherited from class javafx.scene.image.ImageView
SMOOTH_DEFAULTFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCeaseImage(javafx.scene.image.Image aImage) voidaddMainLoopImage(javafx.scene.image.Image aImage) voidaddStartUpImage(javafx.scene.image.Image aImage) voidcease()voiddestroy()intintvoidvoidpause()voidresume()voidsetImageDurationInMs(int aDurationInMs) voidsetStartUpDelayInMs(int aStartUpDelayInMs) voidstart()voidstop()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, yPropertyMethods 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, focusVisibleProperty, focusWithinProperty, 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, isFocusVisible, isFocusWithin, 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, requestFocusTraversal, 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, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.component.Ceasable
ceaseUncheckedMethods inherited from interface org.refcodes.graphical.FlipBookBuilder
addCeaseSequence, addMainLoopSequence, addStartUpSequence, withAddCeaseImage, withAddCeaseSequence, withAddMainLoopImage, withAddMainLoopSequence, withAddStartUpImage, withAddStartUpSequenceMethods inherited from interface org.refcodes.component.Initializable
initializeUncheckedMethods inherited from interface org.refcodes.component.Pausable
pauseUncheckedMethods inherited from interface org.refcodes.component.Resumable
resumeUncheckedMethods inherited from interface org.refcodes.component.Startable
startUncheckedMethods inherited from interface org.refcodes.component.Stoppable
stopUncheckedMethods 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:
addStartUpImagein interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
addMainLoopImage
public void addMainLoopImage(javafx.scene.image.Image aImage) - Specified by:
addMainLoopImagein interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
addCeaseImage
public void addCeaseImage(javafx.scene.image.Image aImage) - Specified by:
addCeaseImagein interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
setImageDurationInMs
public void setImageDurationInMs(int aDurationInMs) - Specified by:
setImageDurationInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
getImageDurationInMs
public int getImageDurationInMs()- Specified by:
getImageDurationInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
setStartUpDelayInMs
public void setStartUpDelayInMs(int aStartUpDelayInMs) - Specified by:
setStartUpDelayInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
getStartUpDelayInMs
public int getStartUpDelayInMs()- Specified by:
getStartUpDelayInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
withImageDurationInMs
- Specified by:
withImageDurationInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
withStartUpDelayInMs
- Specified by:
withStartUpDelayInMsin interfaceorg.refcodes.graphical.FlipBookBuilder<javafx.scene.image.Image>
-
initialize
public void initialize()- Specified by:
initializein interfaceorg.refcodes.component.Initializable- Specified by:
initializein interfaceorg.refcodes.component.Initializable.UncheckedInitializable
-
start
public void start()- Specified by:
startin interfaceorg.refcodes.component.Startable- Specified by:
startin interfaceorg.refcodes.component.Startable.UncheckedStartable
-
pause
public void pause()- Specified by:
pausein interfaceorg.refcodes.component.Pausable- Specified by:
pausein interfaceorg.refcodes.component.Pausable.UncheckedPausable
-
resume
public void resume()- Specified by:
resumein interfaceorg.refcodes.component.Resumable- Specified by:
resumein interfaceorg.refcodes.component.Resumable.UncheckedResumable
-
stop
public void stop()- Specified by:
stopin interfaceorg.refcodes.component.Stoppable- Specified by:
stopin interfaceorg.refcodes.component.Stoppable.UncheckedStoppable
-
cease
public void cease()- Specified by:
ceasein interfaceorg.refcodes.component.Ceasable- Specified by:
ceasein interfaceorg.refcodes.component.Ceasable.UncheckedCeasable
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.refcodes.component.Destroyable
-