org.pushingpixels.substance.flamingo.utils
Class SubstanceDisabledResizableIcon
java.lang.Object
org.pushingpixels.substance.flamingo.utils.SubstanceDisabledResizableIcon
- All Implemented Interfaces:
- javax.swing.Icon, org.pushingpixels.flamingo.api.common.icon.ResizableIcon
public class SubstanceDisabledResizableIcon
- extends java.lang.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 |
protected org.pushingpixels.substance.internal.utils.LazyResettableHashMap<java.awt.image.BufferedImage> |
cachedImages
Image cache to speed up rendering. |
protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon |
delegate
The main (pre-filtered) icon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cachedImages
protected org.pushingpixels.substance.internal.utils.LazyResettableHashMap<java.awt.image.BufferedImage> cachedImages
- Image cache to speed up rendering.
delegate
protected org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate
- The main (pre-filtered) icon.
SubstanceDisabledResizableIcon
public SubstanceDisabledResizableIcon(org.pushingpixels.flamingo.api.common.icon.ResizableIcon delegate)
- Creates a new filtered icon.
- Parameters:
delegate
- The main (pre-filtered) icon.
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
setDimension
public void setDimension(java.awt.Dimension newDimension)
- Specified by:
setDimension
in interface org.pushingpixels.flamingo.api.common.icon.ResizableIcon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon