Package com.openfin.desktop.animation
Class SizeTransition
- java.lang.Object
-
- com.openfin.desktop.animation.AbstractAnimation
-
- 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
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.IntegergetDuration()Gets value of durationjava.lang.IntegergetHeight()Gets value of heightjava.lang.IntegergetWidth()Gets value of widthvoidsetDuration(java.lang.Integer duration)Sets value of durationvoidsetHeight(java.lang.Integer height)Sets value of heightvoidsetWidth(java.lang.Integer width)Sets value of width-
Methods inherited from class com.openfin.desktop.animation.AbstractAnimation
toJsonObject
-
-
-
-
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
-
-