com.pnp.xfeature.editor
Class ModelImages

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

public class ModelImages
extends java.lang.Object

A utility class that loads XFeature icons and provides them to the application as needed

Author:
Ondrej Rohlik

Constructor Summary
ModelImages()
           
 
Method Summary
static Image getImage(java.lang.String path)
          Loads and image based on the filename and returns it as instances of the Image class.
static ImageDescriptor getImageDescriptor(java.lang.String path)
          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

ModelImages

public ModelImages()
Method Detail

getImageDescriptor

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


getImage

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



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