Class UrlImageIcon
java.lang.Object
javax.swing.ImageIcon
resources.icons.LazyImageIcon
resources.icons.UrlImageIcon
- All Implemented Interfaces:
Serializable, Accessible, Icon, FileBasedIcon
LazyImageIcon that is created from a URL to an icon file.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ImageIcon
ImageIcon.AccessibleImageIcon -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LazyImageIcon
getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, paintIcon, setDescription, setImage, sourceIconChanged, toStringMethods inherited from class ImageIcon
loadImage, setImageObserver
-
Constructor Details
-
UrlImageIcon
-
-
Method Details
-
getUrl
Returns the URL that was used to create this icon- Returns:
- the URL that was used to create this icon
-
getOriginalPath
Returns the original path that was used to generate the URL (e.g. images/foo.png)- Returns:
- the original path that was used to generate the URL (e.g. images/foo.png)
-
createImageIcon
- Specified by:
createImageIconin classLazyImageIcon
-
createImage
-
hashCode
-
equals
-