com.sshtools.util
Class ResourceIcon

java.lang.Object
  |
  +--javax.swing.ImageIcon
        |
        +--com.sshtools.util.ResourceIcon
All Implemented Interfaces:
javax.accessibility.Accessible, javax.swing.Icon, java.io.Serializable

public class ResourceIcon
extends javax.swing.ImageIcon

Loads an image from the resources

Version:
1.0
Author:
Richard Pernavas ( richard@sshtools.com )
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
ResourceIcon(java.lang.String imageName)
          Creates an ImageIcon from a resource image
 
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

ResourceIcon

public ResourceIcon(java.lang.String imageName)
Creates an ImageIcon from a resource image

Parameters:
imageName - The image filename


Copyright © 2002 Sshtools.com. All Rights Reserved.