UC Berkeley Group for User Interface Research
Updated November 17, 2000

edu.berkeley.guir.lib.gesture.util
Class SolidIcon

java.lang.Object
  |
  +--edu.berkeley.guir.lib.gesture.util.SolidIcon
All Implemented Interfaces:
Icon

public class SolidIcon
extends Object
implements Icon


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

Constructor Detail

SolidIcon

public SolidIcon(Color color,
                 Dimension size)

SolidIcon

public SolidIcon(Color color,
                 Dimension size,
                 Border border)
Method Detail

setColor

public void setColor(Color c)

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

Copyright Information