Class DisabledImageIconWrapper

All Implemented Interfaces:
Serializable, Accessible, Icon, FileBasedIcon

@Deprecated(forRemoval=true, since="11") public class DisabledImageIconWrapper extends ImageIconWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
This class has been replaced by DisabledImageIcon since it extends ImageIconWrapper which has also been deprecated.
Creates a disabled version of an icon
See Also:
  • Constructor Details

    • DisabledImageIconWrapper

      public DisabledImageIconWrapper(Icon baseIcon)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct wrapped disabled ImageIcon based upon specified baseIcon. A 50% brightness will be applied.
      Parameters:
      baseIcon - enabled icon to be rendered as disabled
    • DisabledImageIconWrapper

      public DisabledImageIconWrapper(Icon baseIcon, int brightnessPercent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct wrapped disabled ImageIcon based upon specified baseIcon using the specified brightness level
      Parameters:
      baseIcon -
      brightnessPercent - a brightness level specified using a value in the range of 0 thru 100.
  • Method Details