|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cmu.sun.animation.ScheduledAnimation
edu.cmu.sun.animation.VisibilityAnimation
public class VisibilityAnimation
Adjusts the visibility of a target Component3D.
| Field Summary | |
|---|---|
(package private) boolean |
visible
|
| Fields inherited from class edu.cmu.sun.animation.ScheduledAnimation |
|---|
duration, startTime, target |
| Constructor Summary | |
|---|---|
VisibilityAnimation(Component3D target,
int startTime,
boolean visible)
Creates a new action to call setVisibility(); |
|
| Method Summary | |
|---|---|
void |
doAnimation()
Performs the animation required for this ScheduledAnimation. |
| Methods inherited from class edu.cmu.sun.animation.ScheduledAnimation |
|---|
compareTo, getEndTime, getStartTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean visible
| Constructor Detail |
|---|
public VisibilityAnimation(Component3D target,
int startTime,
boolean visible)
target - Component to be called as a targtstartTime - Time this animation should start, in msecvisible - True if the component is to be visible, faslt for invisible.| Method Detail |
|---|
public void doAnimation()
ScheduledAnimation
doAnimation in class ScheduledAnimation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||