Class PositionTransition


  • public class PositionTransition
    extends AbstractAnimation
    class representing a transition of a Window's position. The left property represents the resulting left position of the window. The Top property represents the resulting top position of the window The Duration property represents the total time in milliseconds
    • Constructor Summary

      Constructors 
      Constructor Description
      PositionTransition()
      Empty constructor
      PositionTransition​(java.lang.Integer left, java.lang.Integer top, java.lang.Integer duration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getDuration()
      Gets value of duration
      java.lang.Integer getLeft()
      Gets value of left
      java.lang.Integer getTop()
      Gets value of top
      void setDuration​(java.lang.Integer duration)
      Sets value of duration
      void setLeft​(java.lang.Integer left)
      Sets value of left
      void setTop​(java.lang.Integer top)
      Sets value of top
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PositionTransition

        public PositionTransition()
        Empty constructor
      • PositionTransition

        public PositionTransition​(java.lang.Integer left,
                                  java.lang.Integer top,
                                  java.lang.Integer duration)
    • Method Detail

      • getLeft

        public java.lang.Integer getLeft()
        Gets value of left
        Returns:
        Value of left
      • setLeft

        public void setLeft​(java.lang.Integer left)
        Sets value of left
        Parameters:
        left - Value of left
      • getTop

        public java.lang.Integer getTop()
        Gets value of top
        Returns:
        Value of top
      • setTop

        public void setTop​(java.lang.Integer top)
        Sets value of top
        Parameters:
        top - Value of top
      • getDuration

        public java.lang.Integer getDuration()
        Gets value of duration
        Returns:
        Value of duration
      • setDuration

        public void setDuration​(java.lang.Integer duration)
        Sets value of duration
        Parameters:
        duration - Value of duration