|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kalmeo.kuix.transition.SlideTransition
public class SlideTransition
This class implements a slide transition between two screens. This transition could be parametrized with a direction (left, right, top and bottom).
| Field Summary | |
|---|---|
protected Image |
newImage
|
protected Image |
oldImage
|
| Constructor Summary | |
|---|---|
SlideTransition(Alignment direction)
Construct a SlideTransition |
|
| 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 |
| Field Detail |
|---|
protected Image oldImage
protected Image newImage
| Constructor Detail |
|---|
public SlideTransition(Alignment direction)
SlideTransition
direction - | 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 | |||||||||