|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.csstudio.ui.util.ImageUtil
public final class ImageUtil
Utility class, which provides access to images. Images returned by this utility are managed by a ImageRegistry and must not explicitly be disposed, when they are not used anymore.
ImageRegistry}| Method Summary | |
|---|---|
Image |
getImage(java.lang.String pluginId,
java.lang.String path)
Gets an Image for an image resource which is supposed to reside in the plugin with the specified pluginId under the specified path. |
ImageDescriptor |
getImageDescriptor(java.lang.String pluginId,
java.lang.String path)
Gets an ImageDescriptor for an image resource which is supposed to reside in the plugin with the specified pluginId under the specified path. |
ImageDescriptor |
getImageDescriptorFromFile(java.lang.String fullPath)
Gets an ImageDescriptor for an image resource which is supposed to reside in the plugin with the specified pluginId under the specified path. |
static ImageUtil |
getInstance()
Gets the singleton instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ImageUtil getInstance()
public ImageDescriptor getImageDescriptorFromFile(java.lang.String fullPath)
pluginId - the ID of the plugin that contains the image resourcefullPath - the path
public ImageDescriptor getImageDescriptor(java.lang.String pluginId,
java.lang.String path)
pluginId - the ID of the plugin that contains the image resourcepath - the path
public Image getImage(java.lang.String pluginId,
java.lang.String path)
pluginId - the ID of the plugin that contains the image resourcepath - the path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||