|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.cardlayout.Transition2DAnimation
public class Transition2DAnimation
This class animates using the transition classes in the Transition2D http://javagraphics.blogspot.com/2007/04/slideshows-transitions-swf.html replaces http://transitions.dev.java.net/
| Field Summary | |
|---|---|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
Transition2DAnimation(com.bric.image.transition.Transition transition)
|
|
| Method Summary | |
|---|---|
Component |
animate(Component first,
Component last,
AnimationListener listener)
This method returns a component that is used to render the transition. |
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 String SOURCECODE_VERSION
| Constructor Detail |
|---|
public Transition2DAnimation(com.bric.image.transition.Transition transition)
| 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 Component animate(Component first,
Component last,
AnimationListener listener)
animate in interface Animation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||