Class IconWrapperResizableIcon

java.lang.Object
be.gaudry.swing.ribbon.IconWrapperResizableIcon
All Implemented Interfaces:
Icon, org.pushingpixels.flamingo.api.common.icon.ResizableIcon

public class IconWrapperResizableIcon extends Object implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon
Since:
1.0 Sep 3, 2009
Author:
Steph GAUDRY
  • Field Details

    • delegate

      protected Icon delegate
  • Constructor Details

    • IconWrapperResizableIcon

      public IconWrapperResizableIcon(Icon delegate)
  • Method Details

    • getIconHeight

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

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

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • revertToOriginalDimension

      public void revertToOriginalDimension()
    • setDimension

      public void setDimension(Dimension dim)
      Specified by:
      setDimension in interface org.pushingpixels.flamingo.api.common.icon.ResizableIcon
    • setHeight

      public void setHeight(int height)
    • setWidth

      public void setWidth(int width)