org.annotation.gui
Class SwatchIcon
java.lang.Object
org.annotation.gui.SwatchIcon
- All Implemented Interfaces:
- javax.swing.Icon
- public class SwatchIcon
- extends java.lang.Object
- implements javax.swing.Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwatchIcon
public SwatchIcon(java.awt.Color c)
SwatchIcon
public SwatchIcon(int w,
int h,
java.awt.Color c)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
main
public static void main(java.lang.String[] args)
Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.