Package com.openfin.desktop.animation
Class AnimationTransitions
java.lang.Object
com.openfin.desktop.animation.AnimationTransitions
public class AnimationTransitions
extends java.lang.Object
A class representing a collection of transitions for a Window animation.
-
Constructor Summary
Constructors Constructor Description AnimationTransitions()
-
Method Summary
Modifier and Type Method Description OpacityTransition
getOpacity()
Sets Opacity transitionPositionTransition
getPosition()
Gets position transitionSizeTransition
getSize()
Gets size transitionvoid
setOpacity(OpacityTransition opacity)
Sets opacity transitionvoid
setPosition(PositionTransition position)
Sets position transitionvoid
setSize(SizeTransition size)
Sets size transitionorg.json.JSONObject
toJsonObject()
-
Constructor Details
-
AnimationTransitions
public AnimationTransitions()
-
-
Method Details
-
toJsonObject
public org.json.JSONObject toJsonObject() -
getOpacity
Sets Opacity transition- Returns:
- Opacity transition
-
setOpacity
Sets opacity transition- Parameters:
opacity
- Opacity transition
-
getSize
Gets size transition- Returns:
- Size transition
-
setSize
Sets size transition- Parameters:
size
- size of the transition
-
getPosition
Gets position transition- Returns:
- Position transition
-
setPosition
Sets position transition- Parameters:
position
- position for the transition
-