Package resources.icons
Class DerivedImageIcon
java.lang.Object
javax.swing.ImageIcon
resources.icons.LazyImageIcon
resources.icons.DerivedImageIcon
- All Implemented Interfaces:
Serializable
,Accessible
,Icon
,FileBasedIcon
- Direct Known Subclasses:
DisabledImageIcon
,ReflectedIcon
,ScaledImageIcon
,UnresolvedIcon
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDerivedImageIcon
(String name, Image image) Constructor for deriving from an imageDerivedImageIcon
(Icon icon) Constructor for deriving from an icon -
Method Summary
Methods inherited from class resources.icons.LazyImageIcon
getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, paintIcon, setDescription, setImage, toString
Methods inherited from class javax.swing.ImageIcon
loadImage, setImageObserver
-
Constructor Details
-
DerivedImageIcon
Constructor for deriving from an icon- Parameters:
icon
- the source icon
-
DerivedImageIcon
Constructor for deriving from an image- Parameters:
name
- the name of the imageimage
- the source image
-
-
Method Details
-
getSourceIcon
-
sourceIconChanged
protected boolean sourceIconChanged()- Overrides:
sourceIconChanged
in classLazyImageIcon
-
createImageIcon
- Specified by:
createImageIcon
in classLazyImageIcon
-
createImage
-