Class SizeTransition


  • public class SizeTransition
    extends AbstractAnimation
    A class representing a transition of a Window's dimensions. The Width property represents the resulting width of the window The Height property represents the resulting height of the window The Duration property represents the total time in milliseconds for the transition to complete.
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeTransition()  
      SizeTransition​(java.lang.Integer width, java.lang.Integer height, 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 getHeight()
      Gets value of height
      java.lang.Integer getWidth()
      Gets value of width
      void setDuration​(java.lang.Integer duration)
      Sets value of duration
      void setHeight​(java.lang.Integer height)
      Sets value of height
      void setWidth​(java.lang.Integer width)
      Sets value of width
      • Methods inherited from class java.lang.Object

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

      • SizeTransition

        public SizeTransition()
      • SizeTransition

        public SizeTransition​(java.lang.Integer width,
                              java.lang.Integer height,
                              java.lang.Integer duration)
    • Method Detail

      • getWidth

        public java.lang.Integer getWidth()
        Gets value of width
        Returns:
        Value of width
      • setWidth

        public void setWidth​(java.lang.Integer width)
        Sets value of width
        Parameters:
        width - Value of width
      • getHeight

        public java.lang.Integer getHeight()
        Gets value of height
        Returns:
        Value of height
      • setHeight

        public void setHeight​(java.lang.Integer height)
        Sets value of height
        Parameters:
        height - Value of height
      • 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