public class SizeIcon
extends java.lang.Object
implements javax.swing.Icon
| Constructor and Description |
|---|
SizeIcon(int width,
int height) |
SizeIcon(int width,
int height,
boolean swap) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public static SizeIcon EMPTY
public SizeIcon(int width,
int height)
public SizeIcon(int width,
int height,
boolean swap)
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Iconpublic int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Icon