com.yobotics.simulationconstructionset.movies
Class Canvas3DPainter

java.lang.Object
  extended by com.yobotics.simulationconstructionset.movies.Canvas3DPainter
All Implemented Interfaces:
quicktime.app.image.Paintable

public class Canvas3DPainter
extends java.lang.Object
implements quicktime.app.image.Paintable

Title: SimulationConstructionSet Description: Copyright: Copyright (c) 2000 Company: Yobotics, Inc.

Version:
1.0
Author:
Jerry Pratt

Constructor Summary
Canvas3DPainter(YoCanvas3D canvas, SimulationConstructionSet sim)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void goToInPoint()
           
 void newSizeNotified(quicktime.app.image.QTImageDrawer drawer, java.awt.Dimension d)
           
 java.awt.Rectangle[] paint(java.awt.Graphics g)
           
 boolean setCurrentFrame(int currentFrame)
           
 boolean stepForward()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Canvas3DPainter

public Canvas3DPainter(YoCanvas3D canvas,
                       SimulationConstructionSet sim)
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

goToInPoint

public void goToInPoint()

setCurrentFrame

public boolean setCurrentFrame(int currentFrame)

stepForward

public boolean stepForward()

newSizeNotified

public void newSizeNotified(quicktime.app.image.QTImageDrawer drawer,
                            java.awt.Dimension d)
Specified by:
newSizeNotified in interface quicktime.app.image.Paintable

paint

public java.awt.Rectangle[] paint(java.awt.Graphics g)
Specified by:
paint in interface quicktime.app.image.Paintable