edu.rice.cs.util.swing
Class LayeredIcon

java.lang.Object
  extended by edu.rice.cs.util.swing.LayeredIcon
All Implemented Interfaces:
Icon

public class LayeredIcon
extends Object
implements Icon


Constructor Summary
LayeredIcon(Icon[] layers, int[] x, int[] y)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 Icon[] getLayers()
           
 int[] getXOffsets()
           
 int[] getYOffsets()
           
 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

LayeredIcon

public LayeredIcon(Icon[] layers,
                   int[] x,
                   int[] y)
Method Detail

getIconHeight

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

getIconWidth

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

paintIcon

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

getLayers

public Icon[] getLayers()

getXOffsets

public int[] getXOffsets()

getYOffsets

public int[] getYOffsets()