Class SubstanceDisabledResizableIcon

  • All Implemented Interfaces:
    Icon, org.pushingpixels.flamingo.api.common.icon.ResizableIcon

    public class SubstanceDisabledResizableIcon
    extends Object
    implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon
    Implementation of a resizable icon of disabled controls based on the current Substance skin.
    • Field Detail

      • cachedImages

        protected org.pushingpixels.substance.internal.utils.LazyResettableHashMap<BufferedImage> cachedImages
        Image cache to speed up rendering.
      • delegate

        protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate
        The main (pre-filtered) icon.
    • Constructor Detail

      • SubstanceDisabledResizableIcon

        public SubstanceDisabledResizableIcon​(org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate)
        Creates a new filtered icon.
        Parameters:
        delegate - The main (pre-filtered) icon.
    • Method Detail

      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface Icon
      • setDimension

        public void setDimension​(Dimension newDimension)
        Specified by:
        setDimension in interface org.pushingpixels.flamingo.api.common.icon.ResizableIcon