|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.cardlayout.Flip3DAnimation
public class Flip3DAnimation
The Flip3DAnimation is a class to animate the transition between one component and the other for AnimatingCardLayout using JOGL.
| Field Summary | |
|---|---|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
Flip3DAnimation()
|
|
| Method Summary | |
|---|---|
java.awt.Component |
animate(java.awt.Component first,
java.awt.Component last,
AnimationListener listener)
Draws an animation moving from 'first' to 'last'. |
static Animation |
createFlip3dOrFlip()
Try to create Flip3D, but if JOGL is not present, return the regular Flip |
boolean |
handlesVisibility()
Does the animation handle its own visibility |
void |
setAnimationDuration(int duration)
set duration of the animation. |
void |
setDirection(boolean direction)
set direction of the animation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public Flip3DAnimation()
| Method Detail |
|---|
public boolean handlesVisibility()
Animation
handlesVisibility in interface Animationpublic void setAnimationDuration(int duration)
Animation
setAnimationDuration in interface Animationduration - duration of the animation in the mspublic void setDirection(boolean direction)
Animation
setDirection in interface Animation
public java.awt.Component animate(java.awt.Component first,
java.awt.Component last,
AnimationListener listener)
Animation
animate in interface Animationpublic static Animation createFlip3dOrFlip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||