com.openfin.desktop.animation
Class SizeTransition

java.lang.Object
  extended by com.openfin.desktop.animation.AbstractAnimation
      extended by com.openfin.desktop.animation.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.


Field Summary
 
Fields inherited from class com.openfin.desktop.animation.AbstractAnimation
jsonObject
 
Constructor Summary
SizeTransition()
           
SizeTransition(Integer width, Integer height, Integer duration)
           
 
Method Summary
 Integer getDuration()
          Gets value of duration
 Integer getHeight()
          Gets value of height
 Integer getWidth()
          Gets value of width
 void setDuration(Integer duration)
          Sets value of duration
 void setHeight(Integer height)
          Sets value of height
 void setWidth(Integer width)
          Sets value of width
 
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

SizeTransition

public SizeTransition()

SizeTransition

public SizeTransition(Integer width,
                      Integer height,
                      Integer duration)
Method Detail

getWidth

public Integer getWidth()
Gets value of width

Returns:
Value of width

setWidth

public void setWidth(Integer width)
Sets value of width

Parameters:
width - Value of width

getHeight

public Integer getHeight()
Gets value of height

Returns:
Value of height

setHeight

public void setHeight(Integer height)
Sets value of height

Parameters:
height - Value of height

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.