public class ImageUtil extends Object
Constructor and Description |
---|
ImageUtil() |
Modifier and Type | Method and 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.
|
static InputStream |
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) |
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)
public static InputStream getImageInputStream(org.eclipse.swt.widgets.Display display, String location)
public static org.eclipse.swt.graphics.Image getImageAsResource(org.eclipse.swt.widgets.Display display, String location)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, Class<?> resourceClass, String filename)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, ClassLoader classLoader, String filename)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display, String location)
public static org.eclipse.swt.graphics.ImageData convertToSWT(BufferedImage bufferedImage)
Copyright © 2019 Hitachi Vantara. All rights reserved.