com.openfin.desktop.animation
Class PositionTransition

java.lang.Object
  extended by com.openfin.desktop.animation.AbstractAnimation
      extended by 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
PositionTransition()
          Empty constructor
PositionTransition(Integer left, Integer top, Integer duration)
           
 
Method Summary
 Integer getDuration()
          Gets value of duration
 Integer getLeft()
          Gets value of left
 Integer getTop()
          Gets value of top
 void setDuration(Integer duration)
          Sets value of duration
 void setLeft(Integer left)
          Sets value of left
 void setTop(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 Detail

PositionTransition

public PositionTransition()
Empty constructor


PositionTransition

public PositionTransition(Integer left,
                          Integer top,
                          Integer duration)
Method Detail

getLeft

public Integer getLeft()
Gets value of left

Returns:
Value of left

setLeft

public void setLeft(Integer left)
Sets value of left

Parameters:
left - Value of left

getTop

public Integer getTop()
Gets value of top

Returns:
Value of top

setTop

public void setTop(Integer top)
Sets value of top

Parameters:
top - Value of top

getDuration

public Integer getDuration()
Gets value of duration

Returns:
Value of duration

setDuration

public void setDuration(Integer duration)
Sets value of duration

Parameters:
duration - Value of duration


Copyright © 2016. All rights reserved.