Class 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.
This class has been replaced by ScaledImageIcon since it extends ImageIconWrapper which has also been deprecated.
Creates a scaled version of an icon
See Also:
  • Constructor Details

    • ScaledImageIconWrapper

      public ScaledImageIconWrapper(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. The rendering hints of Image.SCALE_AREA_AVERAGING will be applied.
      Parameters:
      baseIcon - base icon
      width - new icon width
      height - new icon height
    • ScaledImageIconWrapper

      public 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
      Parameters:
      baseIcon - base icon
      width - new icon width
      height - new icon height
      hints - RenderingHints used by Graphics2D
  • Method Details