Package com.openfin.desktop.animation
Class PositionTransition
java.lang.Object
com.openfin.desktop.animation.AbstractAnimation
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
-
Constructor Summary
Constructors Constructor Description PositionTransition()
Empty constructorPositionTransition(java.lang.Integer left, java.lang.Integer top, java.lang.Integer duration)
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getDuration()
Gets value of durationjava.lang.Integer
getLeft()
Gets value of leftjava.lang.Integer
getTop()
Gets value of topvoid
setDuration(java.lang.Integer duration)
Sets value of durationvoid
setLeft(java.lang.Integer left)
Sets value of leftvoid
setTop(java.lang.Integer top)
Sets value of top
-
Constructor Details
-
PositionTransition
public PositionTransition()Empty constructor -
PositionTransition
public PositionTransition(java.lang.Integer left, java.lang.Integer top, java.lang.Integer duration)
-
-
Method Details
-
getLeft
public java.lang.Integer getLeft()Gets value of left- Returns:
- Value of left
-
setLeft
public void setLeft(java.lang.Integer left)Sets value of left- Parameters:
left
- Value of left
-
getTop
public java.lang.Integer getTop()Gets value of top- Returns:
- Value of top
-
setTop
public void setTop(java.lang.Integer top)Sets value of top- Parameters:
top
- Value of top
-
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
-