de.grogra.util
Class ImageAndGraphics

java.lang.Object
  extended by de.grogra.util.ImageAndGraphics
All Implemented Interfaces:
Disposable

public final class ImageAndGraphics
extends java.lang.Object
implements Disposable


Constructor Summary
ImageAndGraphics(java.awt.Image image, java.awt.Graphics graphics)
           
 
Method Summary
 void dispose()
           
 java.awt.Graphics getGraphics()
           
 java.awt.Image getImage()
           
 void setImage(java.awt.Image image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageAndGraphics

public ImageAndGraphics(java.awt.Image image,
                        java.awt.Graphics graphics)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface Disposable

getGraphics

public java.awt.Graphics getGraphics()

getImage

public java.awt.Image getImage()

setImage

public void setImage(java.awt.Image image)