A C D G M P Q R S
A
- Actor - interface uwcse.animation.Actor.
-
- addActor(Actor) -
Method in class uwcse.animation.Stage
- Add a new actor to the stage.
- addProp(Prop) -
Method in class uwcse.animation.Stage
- Add a new prop to the stage.
- addTo(GWindow) -
Method in interface uwcse.animation.Actor
- Every Actor must be able to draw itself on a GWindow.
- addTo(GWindow) -
Method in interface uwcse.animation.Prop
- Every Prop must be able to draw itself on a GWindow.
- addTo(GWindow) -
Method in class uwcse.animation.ShapeProp
- Add the shape to the window
- animate() -
Method in class uwcse.animation.Stage
- Run rounds of animation forever.
- animate(int) -
Method in class uwcse.animation.Stage
- Run a certain number of rounds of animation.
- animateInBackground() -
Method in class uwcse.animation.Stage
- Run rounds of animation forever, in the background.
- animateOneRound() -
Method in class uwcse.animation.Stage
- Run one round of the animation.
C
- close() -
Method in class uwcse.animation.Stage
- End the animation and close the GWindow
D
- doAction(Stage) -
Method in interface uwcse.animation.Actor
- Every Actor must implement some fundamental action.
G
- getActors() -
Method in class uwcse.animation.Stage
- Return a list of all the actors.
- getHeight() -
Method in class uwcse.animation.Stage
- Return the height of the stage window.
- getProps() -
Method in class uwcse.animation.Stage
- Return a list of all the props.
- getTimeForOneRound() -
Method in class uwcse.animation.Stage
- Get the current amount of time to pause between rounds of
animation, in ms.
- getWidth() -
Method in class uwcse.animation.Stage
- Return the width of the stage window.
- getWindow() -
Method in class uwcse.animation.Stage
- Return the window of the stage.
M
- makeAnimationRoundsAtomic() -
Method in class uwcse.animation.Stage
- Make each round of animation "atomic", in that only after all
the doAction operations are done, and all the graphic changes
are made, will the final updated scene be displayed.
P
- Prop - interface uwcse.animation.Prop.
-
Q
- quitAnimation() -
Method in class uwcse.animation.Stage
- Quit the animation loop, if it's running.
- quitWhenWindowClosed() -
Method in class uwcse.animation.Stage
- Make it so that the whole animation application will exit when
the stage's window is closed.
R
- registerEventHandler(GWindowEventHandler) -
Method in class uwcse.animation.Stage
- Register the handler object that should be notified if there are
any input events (e.g., key or mouse button pressed or
released).
- removeActor(Actor) -
Method in class uwcse.animation.Stage
- Remove an actor from the stage.
- removeFromWindow() -
Method in interface uwcse.animation.Actor
- Every Actor must be able to remove itself from its GWindow.
- removeFromWindow() -
Method in interface uwcse.animation.Prop
- Every Prop must be able to remove itself from its GWindow.
- removeFromWindow() -
Method in class uwcse.animation.ShapeProp
- Remove the shape from its window
- removeProp(Prop) -
Method in class uwcse.animation.Stage
- Remove a prop from the stage.
- resumeAnimation() -
Method in class uwcse.animation.Stage
- Resume the animation loop, if was suspended.
- resumeTimerEvents() -
Method in class uwcse.animation.Stage
- Resume delivering timer events at the previous rate, if they
were enabled.
S
- setTimeForOneRound(int) -
Method in class uwcse.animation.Stage
- Set the amount of time to pause between rounds of animation, in
ms.
- ShapeProp - class uwcse.animation.ShapeProp.
-
- ShapeProp(Shape) -
Constructor for class uwcse.animation.ShapeProp
- Create a new ShapeProp, given a standard shape from the UWCSE
graphics library (e.g., a Rectangle, Oval, Triangle, Line, or
Polygon)
- Stage - class uwcse.animation.Stage.
-
- Stage(GWindow) -
Constructor for class uwcse.animation.Stage
- Create a new, empty stage, on the given window.
- startTimerEvents(int) -
Method in class uwcse.animation.Stage
- Start delivering timer events to the registered event handler.
- stopTimerEvents() -
Method in class uwcse.animation.Stage
- Stop delivering timer events to the registered event handler.
- suspendAnimation() -
Method in class uwcse.animation.Stage
- Suspend the animation loop, if it's running.
A C D G M P Q R S