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
ConstructorsConstructorDescriptionScaledImageIconWrapper(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 ImageIconDeprecated, 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, toStringMethods 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_AVERAGINGwill 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-RenderingHintsused byGraphics2D
-
-
Method Details
-
createImageIcon
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
createImageIconin classImageIconWrapper
-
ScaledImageIconsince it extendsImageIconWrapperwhich has also been deprecated.