|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.animation.transitions.Effect
org.jdesktop.animation.transitions.effects.Fade
org.jdesktop.animation.transitions.effects.FadeIn
public class FadeIn
Simple subclass of Fade effect that will fade a component from nothing to an existing end state.
Constructor Summary | |
---|---|
FadeIn()
|
|
FadeIn(ComponentState end)
Creates a new instance of FadeIn with the given end state. |
Method Summary | |
---|---|
void |
cleanup(org.jdesktop.animation.timing.Animator animator)
Effect subclasses that create temporary objects for the transition (such as in the init() method) should override this
method and clean up those resources. |
void |
init(org.jdesktop.animation.timing.Animator animator,
Effect parentEffect)
|
Methods inherited from class org.jdesktop.animation.transitions.effects.Fade |
---|
setOpacity, setup |
Methods inherited from class org.jdesktop.animation.transitions.Effect |
---|
getComponent, getComponentImage, getEnd, getRenderComponent, getStart, paint, setBounds, setBounds, setComponentImage, setComponentStates, setEnd, setHeight, setLocation, setRenderComponent, setStart, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FadeIn()
public FadeIn(ComponentState end)
end
- The ComponentState
at the end of the
transition; this is what we are fading into (from nothing into this
final representation).Method Detail |
---|
public void init(org.jdesktop.animation.timing.Animator animator, Effect parentEffect)
init
in class Effect
public void cleanup(org.jdesktop.animation.timing.Animator animator)
Effect
init()
method) should override this
method and clean up those resources. For example, TimingTarget
e.g., PropertySetter) objects added to Animator should be removed
after the transition to avoid leaking resources that may otherwise
be retained by those objects.
cleanup
in class Effect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |