Class SubstanceDisabledResizableIcon
- java.lang.Object
-
- org.pushingpixels.substance.flamingo.utils.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 Summary
Fields Modifier and Type Field Description protected org.pushingpixels.substance.internal.utils.LazyResettableHashMap<BufferedImage>cachedImagesImage cache to speed up rendering.protected org.pushingpixels.flamingo.api.common.icon.ResizableIcondelegateThe main (pre-filtered) icon.
-
Constructor Summary
Constructors Constructor Description SubstanceDisabledResizableIcon(org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate)Creates a new filtered icon.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(Component c, Graphics g, int x, int y)voidsetDimension(Dimension newDimension)
-
-
-
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.
-
-
Method Detail
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
setDimension
public void setDimension(Dimension newDimension)
- Specified by:
setDimensionin interfaceorg.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
-