| Constructor and Description |
|---|
ColorIcon(Color color,
int height,
int width)
Creates a new ColorIcon object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public ColorIcon(Color color, int height, int width)
color - The color to draw.height - The height of the icon.width - The width of the icon.public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2012–2026 cismet GmbH. All rights reserved.