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>
cachedImages
Image cache to speed up rendering.protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon
delegate
The 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 int
getIconHeight()
int
getIconWidth()
void
paintIcon(Component c, Graphics g, int x, int y)
void
setDimension(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:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfaceIcon
-
setDimension
public void setDimension(Dimension newDimension)
- Specified by:
setDimension
in interfaceorg.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
-