com.novell.admin.common.ui
Class ImageLoader

java.lang.Object
  |
  +--com.novell.admin.common.ui.ImageLoader

public class ImageLoader
extends java.lang.Object

ImageLoader - loads images synchronously from a given location.


Constructor Summary
ImageLoader(java.lang.String locationString)
          This class loads images from common package using the image key passed in.
 
Method Summary
 java.awt.Image get(java.lang.String imageName)
          The method is used to find the image needed by the calling class in the common package.
 java.awt.Image getAsync(java.lang.String imageName)
          The method is used to find the image needed by the calling class in the common package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageLoader

public ImageLoader(java.lang.String locationString)
This class loads images from common package using the image key passed in. This class returns the image according to the image key if the image is found null otherwise.
Method Detail

getAsync

public java.awt.Image getAsync(java.lang.String imageName)
The method is used to find the image needed by the calling class in the common package. This method does not guarantee the entire image being fully loaded when returns.
Parameters:
I-imagename - the image name i.e... "ndsmgr.gif"
Returns:
image : The image found in the common package, null otherwise

get

public java.awt.Image get(java.lang.String imageName)
The method is used to find the image needed by the calling class in the common package. This method does not guarantee the entire image being fully loaded upon return. null indicates an error.
Parameters:
I-imagename - the image name i.e... "ndsmgr.gif"
Returns:
image : The image found in the common package, null otherwise


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.