Class PositionTransition

java.lang.Object
com.openfin.desktop.animation.AbstractAnimation
com.openfin.desktop.animation.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
  • Field Summary

    Fields inherited from class com.openfin.desktop.animation.AbstractAnimation

    jsonObject
  • Constructor Summary

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

    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 com.openfin.desktop.animation.AbstractAnimation

    toJsonObject

    Methods inherited from class java.lang.Object

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

    • PositionTransition

      public PositionTransition()
      Empty constructor
    • PositionTransition

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

    • 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