| Modifier and Type | Field and Description |
|---|---|
private static Color |
BORDER_COLOR |
private static int |
COLOR_HEIGHT |
private static int |
COLOR_WIDTH |
private Color[] |
colors |
private int |
maxColors |
| Constructor and Description |
|---|
PaletteIcon(Color[] colors) |
PaletteIcon(Color[] colors,
int maxColors) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
private static int COLOR_WIDTH
private static int COLOR_HEIGHT
private static Color BORDER_COLOR
private final Color[] colors
private final int maxColors
public PaletteIcon(Color[] colors)
public PaletteIcon(Color[] colors, int maxColors)
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2007–2017 Gephi Consortium. All rights reserved.