Package be.gaudry.swing.ribbon
Class NumberedResizableIcon
java.lang.Object
be.gaudry.swing.ribbon.NumberedResizableIcon
- All Implemented Interfaces:
Icon,org.pushingpixels.flamingo.api.common.icon.ResizableIcon
public class NumberedResizableIcon
extends Object
implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidvoidvoidsetDimension(Dimension newDimension)voidsetHeight(int height)voidsetWidth(int width)
-
Constructor Details
-
NumberedResizableIcon
public NumberedResizableIcon(int count, int startWidth, int startHeight)
-
-
Method Details
-
setDimension
- Specified by:
setDimensionin interfaceorg.pushingpixels.flamingo.api.common.icon.ResizableIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
setHeight
public void setHeight(int height) -
setWidth
public void setWidth(int width) -
paintIcon
-
revertToOriginalDimension
public void revertToOriginalDimension()
-