com.pnp.xfeature.editor
Class ImageLoader

java.lang.Object
  extended by com.pnp.xfeature.editor.ImageLoader

public class ImageLoader
extends java.lang.Object

Auxiliary class to get load images on the disc and return them as instances of the Image class.

Author:
Ondrej Rohlik, created on 13.2.2005

Constructor Summary
ImageLoader()
           
 
Method Summary
static Image getImage(java.lang.String name)
          Loads and image based on the filename and returns it as instances of the Image class.
static ImageDescriptor getImageDescriptor(java.lang.String name)
          Loads and image based on the filename and returns its descriptor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageLoader

public ImageLoader()
Method Detail

getImage

public static Image getImage(java.lang.String name)
Loads and image based on the filename and returns it as instances of the Image class.


getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String name)
Loads and image based on the filename and returns its descriptor.



Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.