Class AnimationCanvas

Implemented Interfaces:
Runnable

(package private) class AnimationCanvas
extends Canvas
implements Runnable

Copyright (c) 1997 University of Mannheim. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice, this paragraph and the following four paragraphs appear in all copies. Permission to incorporate this software into commercial products may be obtained from the following address: University of Mannheim Lehrstuhl fuer Praktische Informatik IV L15, 16 68161 Mannheim, Germany IN NO EVENT SHALL THE UNIVERSITY OF MANNHEIM BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF MANNHEIM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF MANNHEIM SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF MANNHEIM HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. The University of Mannheim will appreciate receiving any enhancements and modifications of this software made by others, and reserves the right to include them in future releases. The University also recommends that this software not be redistributed by third parties, but be obtained by all directly from the University's server, so that all users of the software may receive bug notifications and other relevant announcements.

Field Summary

(package private) int
ani_delay
int
ani_zeit
(package private) Animation
animation
Thread
animator
int
schritt

Constructor Summary

AnimationCanvas(Animation animation)

Method Summary

void
delay(int d)
void
paint(Graphics g)
void
run()
void
start()
void
stop()

Field Details

ani_delay

(package private)  int ani_delay

ani_zeit

public int ani_zeit

animation

(package private)  Animation animation

animator

public Thread animator

schritt

public int schritt

Constructor Details

AnimationCanvas

(package private)  AnimationCanvas(Animation animation)

Method Details

delay

public void delay(int d)

paint

public void paint(Graphics g)

run

public void run()

start

public void start()

stop

public void stop()