public class ColorIcon extends Object implements Icon
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setColor(Color c) |
public ColorIcon()
public ColorIcon(Color c)
public void setColor(Color c)
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
Copyright © 1999–2019 ViaOA. All rights reserved.