public abstract class TransitionDelegate
extends java.lang.Object
Constructor and Description |
---|
TransitionDelegate() |
Modifier and Type | Method and Description |
---|---|
protected abstract javafx.animation.Animation |
createAndPrepareAnimation(Card from,
Card to) |
static TransitionDelegate |
fade() |
protected abstract void |
resetProperties(Card from,
Card to) |
static TransitionDelegate |
slideLeft() |
static TransitionDelegate |
slideRight() |
void |
transitionTo(javafx.scene.layout.BorderPane parent,
Card from,
Card to)
Transition between the card
|
static TransitionDelegate |
zoomSlide() |
public void transitionTo(javafx.scene.layout.BorderPane parent, Card from, Card to)
parent
- the ownerfrom
- the from cardto
- the to cardprotected abstract javafx.animation.Animation createAndPrepareAnimation(Card from, Card to)
public static TransitionDelegate slideLeft()
public static TransitionDelegate slideRight()
public static TransitionDelegate fade()
public static TransitionDelegate zoomSlide()