com.icesoft.faces.context.effects
Class Opacity
java.lang.Object
com.icesoft.faces.context.effects.Effect
com.icesoft.faces.context.effects.Opacity
- All Implemented Interfaces:
- java.io.Serializable
public class Opacity
- extends Effect
Set the opacity of an HTML element
- See Also:
- Serialized Form
Fields inherited from class com.icesoft.faces.context.effects.Effect |
ea |
Constructor Summary |
Opacity()
Set the opacity to a givin value. |
Opacity(float from,
float to)
|
Opacity(float from,
float to,
float duration)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFunctionName()
Get the Javascript function name |
float |
getValue()
Get the opacity |
Methods inherited from class com.icesoft.faces.context.effects.Effect |
getDelay, getDuration, getFps, getFrom, getId, getIntfromString, getQueue, getSequence, getSequenceId, getTo, hashCode, isFired, isQueued, isQueueEnd, isSubmit, isSync, isTransitory, setDelay, setDuration, setFired, setFps, setFrom, setId, setOptions, setQueue, setQueued, setQueueEnd, setSequence, setSequenceId, setSubmit, setSync, setTo, setTransitory, toString, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Opacity
public Opacity()
- Set the opacity to a givin value. 0.0 to 1.0
- Parameters:
f
-
Opacity
public Opacity(float from,
float to)
- Parameters:
from
- Starting opacityto
- end opacity
Opacity
public Opacity(float from,
float to,
float duration)
- Parameters:
from
- Starting opacityto
- end opacityduration
-
getValue
public float getValue()
- Get the opacity
- Returns:
getFunctionName
public java.lang.String getFunctionName()
- Get the Javascript function name
- Specified by:
getFunctionName
in class Effect
- Returns:
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Effect
Copyright 2013 ICEsoft Technologies Canada Corp., All Rights Reserved.