it.unimo.dbgroup.momis.tools
Class ImageIconResource

java.lang.Object
  extended byjavax.swing.ImageIcon
      extended byit.unimo.dbgroup.momis.tools.ImageIconResource
All Implemented Interfaces:
javax.accessibility.Accessible, javax.swing.Icon, java.io.Serializable

public class ImageIconResource
extends javax.swing.ImageIcon

This is a ImageIcon that loads the icon from the ClassLoader. This allows to put icons inside the jar files.

Author:
Alberto Corni, Gen 2000
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.ImageIcon
javax.swing.ImageIcon.AccessibleImageIcon
 
Field Summary
 
Fields inherited from class javax.swing.ImageIcon
component, tracker
 
Constructor Summary
ImageIconResource(java.lang.String resourceName)
          The only constructor load the image from the run-time resources
 
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageIconResource

public ImageIconResource(java.lang.String resourceName)
The only constructor load the image from the run-time resources



Universita' di Modena e Reggio Emilia