Constructor and Description |
---|
ColorIcon(Color color) |
ColorIcon(Color color,
int size) |
ColorIcon(Color color,
int size,
int pad) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setColor(Color color) |
public ColorIcon(Color color, int size, int pad)
public ColorIcon(Color color, int size)
public ColorIcon(Color color)
public void setColor(Color color)
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
Copyright © 2015–2021 Fiji. All rights reserved.