org.apache.uima.tools.cvd
Class ColorIcon

java.lang.Object
  extended by org.apache.uima.tools.cvd.ColorIcon
All Implemented Interfaces:
javax.swing.Icon

public class ColorIcon
extends java.lang.Object
implements javax.swing.Icon

TODO: add type comment for ColorIcon.


Constructor Summary
ColorIcon()
           
ColorIcon(java.awt.Color color)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component arg0, java.awt.Graphics graphics, int x, int y)
           
 void setColor(java.awt.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(java.awt.Color color)
Method Detail

setColor

public void setColor(java.awt.Color color)

paintIcon

public void paintIcon(java.awt.Component arg0,
                      java.awt.Graphics graphics,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon


Copyright © 2011. All Rights Reserved.