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 FxFlipBookBuilderImplFxFlipBookBuilderImpl.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
-
-
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(Image aImage)
void
addMainLoopImage(Image aImage)
void
addStartUpImage(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.graphical.FlipBookBuilder
addCeaseSequence, addMainLoopSequence, addStartUpSequence, withCeaseImage, withCeaseSequence, withMainLoopImage, withMainLoopSequence, withStartUpImage, withStartUpSequence
-
Methods inherited from interface org.refcodes.graphical.ext.javafx.FxFlipBookBuilder
build
-
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 javafx.css.Styleable
getStyleableNode
-
-
-
-
Method Detail
-
addStartUpImage
public void addStartUpImage(Image aImage)
- Specified by:
addStartUpImage
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
addMainLoopImage
public void addMainLoopImage(Image aImage)
- Specified by:
addMainLoopImage
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
addCeaseImage
public void addCeaseImage(Image aImage)
- Specified by:
addCeaseImage
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
setImageDurationInMs
public void setImageDurationInMs(int aDurationInMs)
- Specified by:
setImageDurationInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
getImageDurationInMs
public int getImageDurationInMs()
- Specified by:
getImageDurationInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
setStartUpDelayInMs
public void setStartUpDelayInMs(int aStartUpDelayInMs)
- Specified by:
setStartUpDelayInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
getStartUpDelayInMs
public int getStartUpDelayInMs()
- Specified by:
getStartUpDelayInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
-
withImageDurationInMs
public FxFlipBookBuilderImpl withImageDurationInMs(int aDurationInMs)
- Specified by:
withImageDurationInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
- Specified by:
withImageDurationInMs
in interfaceFxFlipBookBuilder
-
withStartUpDelayInMs
public FxFlipBookBuilderImpl withStartUpDelayInMs(int aStartUpDelayInMs)
- Specified by:
withStartUpDelayInMs
in interfaceorg.refcodes.graphical.FlipBookBuilder<Image>
- Specified by:
withStartUpDelayInMs
in interfaceFxFlipBookBuilder
-
initialize
public void initialize()
- Specified by:
initialize
in interfaceorg.refcodes.component.Initializable
- Specified by:
initialize
in interfaceorg.refcodes.component.Initializable.UncheckedInitializable
-
start
public void start()
- Specified by:
start
in interfaceorg.refcodes.component.Startable
- Specified by:
start
in interfaceorg.refcodes.component.Startable.UncheckedStartable
-
pause
public void pause()
- Specified by:
pause
in interfaceorg.refcodes.component.Pausable
- Specified by:
pause
in interfaceorg.refcodes.component.Pausable.UncheckedPausable
-
resume
public void resume()
- Specified by:
resume
in interfaceorg.refcodes.component.Resumable
- Specified by:
resume
in interfaceorg.refcodes.component.Resumable.UncheckedResumable
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.refcodes.component.Stoppable
- Specified by:
stop
in interfaceorg.refcodes.component.Stoppable.UncheckedStoppable
-
cease
public void cease()
- Specified by:
cease
in interfaceorg.refcodes.component.Ceasable
- Specified by:
cease
in interfaceorg.refcodes.component.Ceasable.UncheckedCeasable
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.refcodes.component.Destroyable
-
-