tico.components.resources
Class TResourceManager
java.lang.Object
tico.components.resources.TResourceManager
public class TResourceManager
- extends java.lang.Object
Static class that contains attributes and methods to manage application
internal image files.
- Version:
- 1.0 Nov 20, 2006
- Author:
- Pablo Muñoz
Method Summary |
static java.awt.Image |
getImage(java.lang.String name)
Returns the image generated with the specified file. |
static javax.swing.ImageIcon |
getImageIcon(java.lang.String name)
Returns the imageIcon generated with the specified file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TResourceManager
public TResourceManager()
getImageIcon
public static final javax.swing.ImageIcon getImageIcon(java.lang.String name)
- Returns the
imageIcon
generated with the specified file.
The file name is specified by its name
and the directory
images/ relative to this class.
- Parameters:
name
- The specified file name
- Returns:
- The generated
imageIcon
getImage
public static final java.awt.Image getImage(java.lang.String name)
- Returns the
image
generated with the specified file.
The file name is specified by its name
and the directory
images/ relative to this class.
- Parameters:
name
- The specified file name
- Returns:
- The generated
image