Constructor and Description |
---|
LabelColorMapIcon()
Creates a 16x16 black icon
|
LabelColorMapIcon(int width,
int height)
Creates a viridis icon
|
LabelColorMapIcon(int width,
int height,
ColorMaps.CommonLabelMaps colorMap) |
Modifier and Type | Method and Description |
---|---|
Color |
getBorderColor() |
ColorMaps.CommonLabelMaps |
getColorMap() |
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setBorderColor(Color borderColor) |
void |
setColorMap(ColorMaps.CommonLabelMaps colorMap) |
public LabelColorMapIcon()
public LabelColorMapIcon(int width, int height)
width
- icon widthheight
- icon heightpublic LabelColorMapIcon(int width, int height, ColorMaps.CommonLabelMaps colorMap)
width
- icon widthheight
- icon heightcolorMap
- the color mappublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public Color getBorderColor()
public void setBorderColor(Color borderColor)
public ColorMaps.CommonLabelMaps getColorMap()
public void setColorMap(ColorMaps.CommonLabelMaps colorMap)
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.