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
FieldsModifier and TypeFieldDescriptionprotected org.pushingpixels.substance.internal.utils.LazyResettableHashMap
<BufferedImage> Image cache to speed up rendering.protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon
The main (pre-filtered) icon. -
Constructor Summary
ConstructorsConstructorDescriptionSubstanceDisabledResizableIcon
(org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate) Creates a new filtered icon. -
Method Summary
-
Field Details
-
cachedImages
protected org.pushingpixels.substance.internal.utils.LazyResettableHashMap<BufferedImage> cachedImagesImage cache to speed up rendering. -
delegate
protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegateThe main (pre-filtered) icon.
-
-
Constructor Details
-
SubstanceDisabledResizableIcon
public SubstanceDisabledResizableIcon(org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate) Creates a new filtered icon.- Parameters:
delegate
- The main (pre-filtered) icon.
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
setDimension
- Specified by:
setDimension
in interfaceorg.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
paintIcon
-