public final class Images extends Object
| Constructor and Description |
|---|
Images() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dispose()
Disposes all images and clear all image keys.
|
static org.eclipse.swt.graphics.Image |
get(String key) |
static org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(String key) |
static org.eclipse.swt.graphics.Image |
getImageFromURL(String path)
Returns absolute path in the FS
|
static org.eclipse.swt.graphics.Image |
getImageFromURL(URL url)
Returns relative path in the Project
|
static Set<String> |
getImageKeys()
Returns a set view of image keys
|
static org.eclipse.jface.resource.ImageDescriptor |
getMissingImageDescriptor()
Returns missing image descriptor
|
public static org.eclipse.jface.resource.ImageDescriptor getDescriptor(String key)
key - public static org.eclipse.swt.graphics.Image get(String key)
key - public static org.eclipse.swt.graphics.Image getImageFromURL(String path)
path - public static org.eclipse.swt.graphics.Image getImageFromURL(URL url)
url - public static org.eclipse.jface.resource.ImageDescriptor getMissingImageDescriptor()
public static void dispose()
Copyright © 2025 Eclipse Paho. All rights reserved.