br.usp.iterador.gui
Class SimpleImageView
java.lang.Object
br.usp.iterador.gui.SimpleImageView
- All Implemented Interfaces:
- ImageView
class SimpleImageView
- extends java.lang.Object
- implements ImageView
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleImageView
SimpleImageView()
paintOn
public void paintOn(java.awt.Graphics2D g,
int w,
int h)
- Specified by:
paintOn in interface ImageView
setSize
public void setSize(Application app,
int w,
int h)
- Description copied from interface:
ImageView
- Changes the image buffer
- Specified by:
setSize in interface ImageView
w - widthh - height
getGraphics
public java.awt.Graphics2D getGraphics()
- Description copied from interface:
ImageView
- Returns the buffered graphics
- Specified by:
getGraphics in interface ImageView
- Returns:
- the graphics
isStillValid
public boolean isStillValid(Application app)
- Specified by:
isStillValid in interface ImageView
getBuffer
public java.awt.image.BufferedImage getBuffer()
- Description copied from interface:
ImageView
- Returns the buffer itself
- Specified by:
getBuffer in interface ImageView
- Returns:
- itself
Copyright 2004-2004-2006 IME - USP. All Rights Reserved.