Class ImageUtil

java.lang.Object
org.pentaho.di.ui.util.ImageUtil

public class ImageUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.eclipse.swt.graphics.ImageData
    convertToSWT(BufferedImage bufferedImage)
     
    static org.eclipse.swt.graphics.Image
    getImage(org.eclipse.swt.widgets.Display display, Class<?> resourceClass, String filename)
    TODO: not used.
    static org.eclipse.swt.graphics.Image
    getImage(org.eclipse.swt.widgets.Display display, ClassLoader classLoader, String filename)
    TODO: Load job and step images.
    static org.eclipse.swt.graphics.Image
    getImage(org.eclipse.swt.widgets.Display display, String location)
    TODO: GUI resources.
    static org.eclipse.swt.graphics.Image
    getImageAsResource(org.eclipse.swt.widgets.Display display, String location)
    TODO: Load splash and common images.
    getImageInputStream(org.eclipse.swt.widgets.Display display, String location)
     
    static org.eclipse.swt.graphics.Image
    makeImageTransparent(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.Image tempImage, org.eclipse.swt.graphics.RGB transparentColor)
     

    Methods inherited from class java.lang.Object

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

    • ImageUtil

      public ImageUtil()
  • Method Details

    • makeImageTransparent

      public static org.eclipse.swt.graphics.Image makeImageTransparent(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.Image tempImage, org.eclipse.swt.graphics.RGB transparentColor)
    • getImageInputStream

      public static InputStream getImageInputStream(org.eclipse.swt.widgets.Display display, String location)
    • getImageAsResource

      public static org.eclipse.swt.graphics.Image getImageAsResource(org.eclipse.swt.widgets.Display display, String location)
      TODO: Load splash and common images.
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, Class<?> resourceClass, String filename)
      TODO: not used.
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, ClassLoader classLoader, String filename)
      TODO: Load job and step images.
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, String location)
      TODO: GUI resources.
    • convertToSWT

      public static org.eclipse.swt.graphics.ImageData convertToSWT(BufferedImage bufferedImage)