Class ImageUtil


  • public class ImageUtil
    extends Object
    • Constructor Detail

      • ImageUtil

        public ImageUtil()
    • Method Detail

      • 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)