Package raytrace.viz

Class ImageView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ImageView extends JComponent
Author:
Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
See Also:
Serialized Form
  • Constructor Details

    • ImageView

      public ImageView()
  • Method Details

    • handleImageUpdate

      public void handleImageUpdate​(int x, int y, int w, int h, org.sunflow.image.Color[] data)
    • handleImageFill

      public void handleImageFill​(int x, int y, int w, int h, Color color)
    • paintComponent

      protected void paintComponent​(Graphics g)
      Overrides:
      paintComponent in class JComponent