|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.problets.lib.io.output.text.AnimationController
public class AnimationController
- responds to animation buttons Helps determine the animation of its caller
| Field Summary |
|---|
| Fields inherited from interface org.problets.lib.io.output.text.AnimationConstants |
|---|
ANIMATION_COMPLETED, FINISH_ANIMATION, NEXT_ANIMATION, PREVIOUS_ANIMATION, RESET_ANIMATION, SET_ANIMATION, START_ANIMATION |
| Constructor Summary | |
|---|---|
AnimationController(java.awt.event.ActionListener inRoot)
Constructor when a derived class creates the displayed content in response to an event |
|
AnimationController(java.awt.event.ActionListener inRoot,
java.util.Vector inExplanation)
Constructor when a client creates this object with specific displayed content in mind |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
int |
getAnimationExtent()
Method used by AnimatedTextView to determine how many lines to display |
boolean |
isAtEnd()
|
boolean |
isAtStart()
|
void |
setData(java.util.Vector inExplanation)
Method used by client to update the text to be animated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnimationController(java.awt.event.ActionListener inRoot)
public AnimationController(java.awt.event.ActionListener inRoot,
java.util.Vector inExplanation)
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic int getAnimationExtent()
public boolean isAtStart()
public boolean isAtEnd()
public void setData(java.util.Vector inExplanation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||