org.pentaho.di.ui.util
Class ImageUtil

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

public class ImageUtil
extends Object


Constructor Summary
ImageUtil()
           
 
Method Summary
static ImageData convertToSWT(BufferedImage bufferedImage)
           
static Image getImage(Display display, Class<?> resourceClass, String filename)
           
static Image getImage(Display display, ClassLoader classLoader, String filename)
           
static Image getImage(Display display, String location)
           
static Image getImageAsResource(Display display, String location)
           
static Image makeImageTransparent(Display display, Image tempImage, RGB transparentColor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtil

public ImageUtil()
Method Detail

makeImageTransparent

public static Image makeImageTransparent(Display display,
                                         Image tempImage,
                                         RGB transparentColor)

getImageAsResource

public static Image getImageAsResource(Display display,
                                       String location)

getImage

public static Image getImage(Display display,
                             Class<?> resourceClass,
                             String filename)

getImage

public static Image getImage(Display display,
                             ClassLoader classLoader,
                             String filename)

getImage

public static Image getImage(Display display,
                             String location)

convertToSWT

public static ImageData convertToSWT(BufferedImage bufferedImage)