Class DisabledImageIconWrapper

    • Constructor Detail

      • DisabledImageIconWrapper

        public DisabledImageIconWrapper​(javax.swing.Icon baseIcon)
        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​(javax.swing.Icon baseIcon,
                                        int brightnessPercent)
        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.