public static class ColorFormatter.ColorIcon extends Object implements Icon
| Modifier and Type | Field and Description |
|---|---|
Color |
border |
Color |
color |
int |
height |
int |
width |
| Constructor and Description |
|---|
ColorIcon(Color color,
Color border,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public final int width
public final int height
public final Color color
public final Color border
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2019. All rights reserved.