public class ImageManager
extends java.lang.Object
This class is to be used instead of the IconKit class in the standard JHD framework.
As the ImageManager is a singleton class you access it using ImageManager.getSingleton(). The MinimalApplication creates the ImageManager automatically.
Modifier and Type | Field and Description |
---|---|
static ImageManager |
singleton |
Constructor and Description |
---|
ImageManager(java.awt.Component c) |
Modifier and Type | Method and Description |
---|---|
java.awt.Image |
getImage(java.lang.String shortName) |
static ImageManager |
getSingleton() |
public static ImageManager singleton
public static ImageManager getSingleton()
public java.awt.Image getImage(java.lang.String shortName)
From the book: Flexible, Reliable Software, © CRC Press 2010. Author: Henrik B. Christensen, Aarhus University, Denmark