SciLib.SP.IP
Class IP

java.lang.Object
  extended by SciLib.SP.IP.IP

public final class IP
extends java.lang.Object

This class contains some useful methods used in image processing.


Constructor Summary
IP()
           
 
Method Summary
static java.awt.Image load(java.awt.Image img, java.awt.Component c)
          load an image with a media tracker in a component c
static java.awt.Image load(java.lang.String fileName, java.awt.Component c)
          load an image from a file with a media tracker in a component c
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IP

public IP()
Method Detail

load

public static java.awt.Image load(java.lang.String fileName,
                                  java.awt.Component c)
load an image from a file with a media tracker in a component c

Parameters:
fileName - A String
c - A Component
Returns:
An image object

load

public static java.awt.Image load(java.awt.Image img,
                                  java.awt.Component c)
load an image with a media tracker in a component c

Parameters:
img - An image
c - A Component
Returns:
An image object