info.bioinfweb.treegraph.gui.dialogs.elementformats.piecolor
Class PieColorIcon
java.lang.Object
info.bioinfweb.treegraph.gui.dialogs.elementformats.piecolor.PieColorIcon
- All Implemented Interfaces:
- Icon
public class PieColorIcon
- extends Object
- implements Icon
Icon used in the pie color list of the IconPieChartLabelPanel
.
- Since:
- 2.0.43
- Author:
- Ben Stöver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICON_DOMENSION
public static final int ICON_DOMENSION
- See Also:
- Constant Field Values
color
private Color color
PieColorIcon
public PieColorIcon()
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
setColor
public void setColor(Color color)