|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kalmeo.kuix.transition.FadeTransition
public class FadeTransition
This class implements a fade transition between two screens. This transition could be parametrized with a duration.
| Constructor Summary | |
|---|---|
FadeTransition(int duration)
Construct a FadeTransition |
|
| Method Summary | |
|---|---|
void |
init(Image oldImage,
Image newImage)
This method is called before the transition starts. |
boolean |
process(Graphics g)
This method is called each frame during the transition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FadeTransition(int duration)
FadeTransition
duration - the transition duraction in milliseconds| Method Detail |
|---|
public void init(Image oldImage,
Image newImage)
Transition
init in interface Transitionpublic boolean process(Graphics g)
Transition
process in interface Transitiontrue if the transition is finished
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||