Package be.gaudry.swing.ribbon
Class SimpleResizableIcon
java.lang.Object
be.gaudry.swing.ribbon.SimpleResizableIcon
- All Implemented Interfaces:
Icon
,org.pushingpixels.flamingo.api.common.icon.ResizableIcon
public class SimpleResizableIcon
extends Object
implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon
- Since:
- 1.0 Feb 23, 2009
- Author:
- Steph GAUDRY
-
Constructor Summary
ConstructorDescriptionSimpleResizableIcon(Icon _icon)
SimpleResizableIcon(Icon _icon, int startWidth, int startHeight)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
void
void
setDimension(Dimension newDimension)
void
setHeight(int height)
void
setWidth(int width)
-
Constructor Details
-
SimpleResizableIcon
-
SimpleResizableIcon
-
-
Method Details
-
setDimension
- Specified by:
setDimension
in interfaceorg.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
setHeight
public void setHeight(int height) -
setWidth
public void setWidth(int width) -
paintIcon
-
revertToOriginalDimension
public void revertToOriginalDimension()
-