@OpenApiAll
public interface ResizableIcon
extends javax.swing.Icon, java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns cloned instance of this icon.
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Draw the icon in the given bounds.
|
void paintIcon(@CheckForNull java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
c
- the given component.g
- the graphics to paint on.x
- x coordinate.y
- y coordinate.w
- width to paint.h
- height to paint.java.lang.Object clone()