Protege 3.4.4

edu.stanford.smi.protegex.widget.graph
Class ColorIcon

java.lang.Object
  extended by edu.stanford.smi.protegex.widget.graph.ColorIcon
All Implemented Interfaces:
Icon

public class ColorIcon
extends Object
implements Icon


Constructor Summary
ColorIcon()
           
ColorIcon(Color color, int w, int h)
           
 
Method Summary
 Color getColor()
           
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 void setColor(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorIcon

public ColorIcon()

ColorIcon

public ColorIcon(Color color,
                 int w,
                 int h)
Method Detail

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

Protege 3.4.4

Submit a bug report or feature request