public final class ImageSlideView extends AbstractSlideView<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>
| Modifier and Type | Field and Description |
|---|---|
private javafx.animation.Animation |
fadeTransition
The fade transition.
|
private javafx.scene.image.Image |
image
The image to display.
|
private static Random |
RANDOM
The
RANDOM field is used to build a random integer. |
private int |
tilePerRow
The number of tiles per row and column.
|
private javafx.animation.Animation |
tileTransition
The tile transition.
|
| Constructor and Description |
|---|
ImageSlideView(ImageSlideModel model)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) javafx.animation.Animation |
getFadeTransition() |
(package private) javafx.scene.image.Image |
getImage()
Return the image node.
|
private javafx.util.Duration |
getRandomDuration()
Get a random duration from the range [300-1200].
|
(package private) javafx.animation.Animation |
getTileTransition() |
void |
hide() |
protected void |
initView() |
void |
reload() |
void |
start() |
isSlideLocked, setSlideLockedbuildController, buildRootNode, finalize, getController, getErrorNode, getModel, getRootNode, initInternalView, prepareprivate static final Random RANDOM
RANDOM field is used to build a random integer.private javafx.animation.Animation tileTransition
private javafx.animation.Animation fadeTransition
private javafx.scene.image.Image image
private int tilePerRow
public ImageSlideView(ImageSlideModel model) throws org.jrebirth.af.api.exception.CoreException
model - the splash view modelorg.jrebirth.af.api.exception.CoreException - if build failsprotected void initView()
initView in class DefaultView<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>javafx.scene.image.Image getImage()
public void start()
start in interface org.jrebirth.af.api.ui.View<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>start in class DefaultView<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>javafx.animation.Animation getFadeTransition()
javafx.animation.Animation getTileTransition()
private javafx.util.Duration getRandomDuration()
public void reload()
reload in interface org.jrebirth.af.api.ui.View<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>reload in class DefaultView<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>public void hide()
hide in interface org.jrebirth.af.api.ui.View<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>hide in class DefaultView<ImageSlideModel,javafx.scene.layout.StackPane,ImageSlideController>Copyright © 2011–2015 JRebirth OSS. All rights reserved.