net.refractions.udig.style.sld
Class Images

java.lang.Object
  extended by net.refractions.udig.style.sld.Images
All Implemented Interfaces:
ImageConstants

public class Images
extends java.lang.Object
implements ImageConstants

The image descriptors for the plugin


Field Summary
 
Fields inherited from interface net.refractions.udig.style.sld.ImageConstants
BAD_OVERLAY, COLORBLIND_ICON, CRT_ICON, DOUBTFUL_OVERLAY, GOOD_OVERLAY, LAPTOP_ICON, PATH_EVIEW, PATH_OVR, PHOTOCOPY_ICON, PRINTER_ICON, PROJECTOR_ICON, UNKNOWN_OVERLAY
 
Constructor Summary
Images()
           
 
Method Summary
 void cleanUp()
          Cleanup image cache.
 Image get(java.lang.String id)
          Returns the image associated with the given key, or null if none.
static ImageDescriptor getDescriptor(java.lang.String id)
          Returns the image descriptor for ID, or null if not found.
 ImageDescriptor getImageDescriptor(java.lang.String id)
           
 void initializeImages(java.net.URL url, ImageRegistry shared)
          Initializes the table of images used in this plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Images

public Images()
Method Detail

getDescriptor

public static ImageDescriptor getDescriptor(java.lang.String id)
Returns the image descriptor for ID, or null if not found.

Images are from CatalogUIPlugin.getDefault().getImages()

Parameters:
id -
Returns:
ImageDescriptor, or null if there is no such image.

initializeImages

public void initializeImages(java.net.URL url,
                             ImageRegistry shared)
Initializes the table of images used in this plugin.

The Images from ISharedImages will be registered with CatalogUIPlugin.getDefault().getImageRegistry().

Parameters:
url -
shared -

cleanUp

public void cleanUp()
Cleanup image cache.


getImageDescriptor

public ImageDescriptor getImageDescriptor(java.lang.String id)

get

public Image get(java.lang.String id)
Returns the image associated with the given key, or null if none.

Parameters:
id - the key
Returns:
the image, or null if none