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(Integer width, Integer height, Integer duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDuration()Gets value of durationIntegergetHeight()Gets value of heightIntegergetWidth()Gets value of widthvoidsetDuration(Integer duration)Sets value of durationvoidsetHeight(Integer height)Sets value of heightvoidsetWidth(Integer width)Sets value of width-
Methods inherited from class com.openfin.desktop.animation.AbstractAnimation
toJsonObject
-
-
-
-
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
-
-