Module app
Package app.ui.board

Class GraphicalPiece.MoveTransition

java.lang.Object
javafx.animation.Animation
javafx.animation.Transition
app.ui.board.GraphicalPiece.MoveTransition
Enclosing class:
GraphicalPiece<P extends Piece>

class GraphicalPiece.MoveTransition extends javafx.animation.Transition
  • Property Summary

    Properties inherited from class javafx.animation.Transition

    interpolator

    Properties inherited from class javafx.animation.Animation

    autoReverse, currentRate, currentTime, cycleCount, cycleDuration, delay, onFinished, rate, status, totalDuration
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.animation.Animation

    javafx.animation.Animation.Status
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) Position
     
    (package private) Position
     

    Fields inherited from class javafx.animation.Animation

    INDEFINITE
  • Constructor Summary

    Constructors
    Constructor
    Description
    MoveTransition(javafx.util.Duration duration, Position from, Position to)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    interpolate(double fraction)
     

    Methods inherited from class javafx.animation.Transition

    getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolator

    Methods inherited from class javafx.animation.Animation

    autoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MoveTransition

      public MoveTransition(javafx.util.Duration duration, Position from, Position to)
  • Method Details

    • interpolate

      protected void interpolate(double fraction)
      Specified by:
      interpolate in class javafx.animation.Transition