Package com.nomagic.ui
Interface ResizableIcon
- All Known Implementing Classes:
AlphaCompositeIcon
,DoubleSizeImageIcon
,ResizableIconAdapter
,ResizableIconImageIcon
,RetinaImageIcon
,ScalableImageIcon
,SquareIcon
,SwingImageIcon
The icon which can be resized during the drawing.
-
Method Summary
Methods inherited from interface javax.swing.Icon
getIconHeight, getIconWidth, paintIcon
-
Method Details
-
paintIcon
Draw the icon in the given bounds. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.- Parameters:
c
- the given component.g
- the graphics to paint on.x
- x coordinate.y
- y coordinate.w
- width to paint.h
- height to paint.
-
clone
Object clone()Returns cloned instance of this icon.- Returns:
- cloned instance.
-