public static class ColorCellRenderer.PaintIcon extends Object implements Icon
| Constructor and Description |
|---|
PaintIcon(Paint color) |
PaintIcon(Paint color,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public PaintIcon(Paint color)
public PaintIcon(Paint color, int width, int height)
public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface IconCopyright © 2015. All rights reserved.