br.usp.iterador.gui
Interface ImageView

All Known Implementing Classes:
SimpleImageView

public interface ImageView


Method Summary
 java.awt.image.BufferedImage getBuffer()
          Returns the buffer itself
 java.awt.Graphics2D getGraphics()
          Returns the buffered graphics
 boolean isStillValid(Application app)
           
 void paintOn(java.awt.Graphics2D g, int w, int h)
           
 void setSize(Application app, int w, int h)
          Changes the image buffer
 

Method Detail

paintOn

void paintOn(java.awt.Graphics2D g,
             int w,
             int h)

setSize

void setSize(Application app,
             int w,
             int h)
Changes the image buffer

Parameters:
w - width
h - height

getGraphics

java.awt.Graphics2D getGraphics()
Returns the buffered graphics

Returns:
the graphics

getBuffer

java.awt.image.BufferedImage getBuffer()
Returns the buffer itself

Returns:
itself

isStillValid

boolean isStillValid(Application app)


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.