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

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

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

public class CompositeIcon
extends Object
implements Icon

Let widgets treat multiple Icons as one.


Constructor Summary
CompositeIcon()
           
CompositeIcon(List iconList)
           
 
Method Summary
 void add(Icon icon)
           
 void clear()
           
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIcon

public CompositeIcon()

CompositeIcon

public CompositeIcon(List iconList)
Method Detail

paintIcon

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

getIconHeight

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

getIconWidth

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

add

public void add(Icon icon)

clear

public void clear()

Copyright Information