Class ImageCache

java.lang.Object
org.eclipse.nebula.widgets.ganttchart.ImageCache

public class ImageCache
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ImageCache()  
  • Method Summary

    Modifier and Type Method Description
    static void dispose()
    Disposes ALL images that have been cached.
    static org.eclipse.swt.graphics.Image getImage​(java.lang.String fileName)
    Returns an image that is also cached if it has to be created and does not already exist in the cache.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getImage

      public static org.eclipse.swt.graphics.Image getImage​(java.lang.String fileName)
      Returns an image that is also cached if it has to be created and does not already exist in the cache.
      Parameters:
      fileName - Filename of image to fetch
      Returns:
      Image file or null if it could not be found
    • dispose

      public static void dispose()
      Disposes ALL images that have been cached.