Package resources.icons
Class ScaledImageIconWrapper
java.lang.Object
javax.swing.ImageIcon
resources.icons.ImageIconWrapper
resources.icons.ScaledImageIconWrapper
- All Implemented Interfaces:
Serializable
,Accessible
,Icon
,FileBasedIcon
@Deprecated(forRemoval=true,
since="11")
public class ScaledImageIconWrapper
extends ImageIconWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
Creates a scaled version of an icon
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionScaledImageIconWrapper
(Icon baseIcon, int width, int height) Deprecated, for removal: This API element is subject to removal in a future version.Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size.ScaledImageIconWrapper
(Icon baseIcon, int width, int height, int hints) Deprecated, for removal: This API element is subject to removal in a future version.Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageIcon
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class resources.icons.ImageIconWrapper
createIconBaseImage, getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageName, getImageObserver, paintIcon, setDescription, setImage, toString
Methods inherited from class javax.swing.ImageIcon
loadImage, setImageObserver
-
Constructor Details
-
ScaledImageIconWrapper
Deprecated, for removal: This API element is subject to removal in a future version.Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size. The rendering hints ofImage.SCALE_AREA_AVERAGING
will be applied.- Parameters:
baseIcon
- base iconwidth
- new icon widthheight
- new icon height
-
ScaledImageIconWrapper
Deprecated, for removal: This API element is subject to removal in a future version.Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size- Parameters:
baseIcon
- base iconwidth
- new icon widthheight
- new icon heighthints
-RenderingHints
used byGraphics2D
-
-
Method Details
-
createImageIcon
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
createImageIcon
in classImageIconWrapper
-
ScaledImageIcon
since it extendsImageIconWrapper
which has also been deprecated.