tico.components.resources
Class TResourceManager

java.lang.Object
  extended by 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

Constructor Summary
TResourceManager()
           
 
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
 

Constructor Detail

TResourceManager

public TResourceManager()
Method Detail

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