com.strangelight.salsa
Class J_Image

java.lang.Object
  |
  +--com.strangelight.salsa.J_Image

public class J_Image
extends java.lang.Object

A class for pre-loading an image from the local filesystem and/or application/jar file.


Constructor Summary
J_Image(java.lang.String s)
           
 
Method Summary
 java.awt.Image get_image()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_Image

public J_Image(java.lang.String s)
Parameters:
s - The file/resource path to the image file.
Method Detail

get_image

public java.awt.Image get_image()
Returns:
A java.awt.Image object loaded from the file/resource specified in the constructor. get_image() loads the image if it has not already been loaded.