ca.spaz.util
Class ImageFactory

java.lang.Object
  extended by ca.spaz.util.ImageFactory

public class ImageFactory
extends java.lang.Object

A class for manufacturing images from the resource path.

Author:
Chris Rose

Method Summary
static ImageFactory getInstance()
           
 java.awt.Image loadImage(java.lang.String resourceID)
           
 java.awt.Image loadImage(java.lang.String resourceID, java.lang.Object source)
           
 java.awt.Image loadImage(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final ImageFactory getInstance()

loadImage

public java.awt.Image loadImage(java.net.URL url)

loadImage

public java.awt.Image loadImage(java.lang.String resourceID)

loadImage

public java.awt.Image loadImage(java.lang.String resourceID,
                                java.lang.Object source)


Copyright © 2005 Spaz. All Rights Reserved.