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
-
Constructor Summary
Constructors Constructor Description SizeTransition()
SizeTransition(java.lang.Integer width, java.lang.Integer height, java.lang.Integer duration)
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getDuration()
Gets value of durationjava.lang.Integer
getHeight()
Gets value of heightjava.lang.Integer
getWidth()
Gets value of widthvoid
setDuration(java.lang.Integer duration)
Sets value of durationvoid
setHeight(java.lang.Integer height)
Sets value of heightvoid
setWidth(java.lang.Integer width)
Sets value of width
-
Constructor Details
-
SizeTransition
public SizeTransition() -
SizeTransition
public SizeTransition(java.lang.Integer width, java.lang.Integer height, java.lang.Integer duration)
-
-
Method Details
-
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
-