edu.stanford.smi.protegex.widget.graph
Class ColorIcon
java.lang.Object
edu.stanford.smi.protegex.widget.graph.ColorIcon
- All Implemented Interfaces:
- Icon
public class ColorIcon
- extends Object
- implements Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorIcon
public ColorIcon()
ColorIcon
public ColorIcon(Color color,
int w,
int h)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getColor
public Color getColor()
setColor
public void setColor(Color color)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
Submit a bug report or feature request