|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openfin.desktop.animation.AbstractAnimation
com.openfin.desktop.animation.OpacityTransition
public class OpacityTransition
A class representing a transition of a Window's opacity. The Opacity property represents the resulting opacity of the window. The value is clamped beween 0.0 and 1.0. Default: 1.0 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 | |
|---|---|
OpacityTransition()
Constructor |
|
OpacityTransition(Double opacity,
Integer duration)
Consturctor |
|
| Method Summary | |
|---|---|
Integer |
getDuration()
Gets value of duration |
Double |
getOpacity()
Gets value of Opacity |
void |
setDuration(Integer duration)
Sets value of duration |
void |
setOpacity(Double opacity)
Sets value of opacity |
| Methods inherited from class com.openfin.desktop.animation.AbstractAnimation |
|---|
toJsonObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpacityTransition()
public OpacityTransition(Double opacity,
Integer duration)
opacity - Value of opacityduration - Duration of the animation| Method Detail |
|---|
public Double getOpacity()
public void setOpacity(Double opacity)
opacity - New value of opacitypublic Integer getDuration()
public void setDuration(Integer duration)
duration - Value of duration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||