|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transition
A transition is an effect apply when switching between two screens. Implements this interface to write your own transition.
| 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. |
| Method Detail |
|---|
void init(Image oldImage,
Image newImage)
oldImage - newImage - boolean process(Graphics g)
g -
true if the transition is finished
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||