Version: 1.1.1

ca.ucalgary.seahawk.util
Class CombinedIcon

java.lang.Object
  extended by ca.ucalgary.seahawk.util.CombinedIcon
All Implemented Interfaces:
Icon
Direct Known Subclasses:
CloseTabIcon

public class CombinedIcon
extends Object
implements Icon


Field Summary
static int HORIZONTAL
           
static int VERTICAL
           
 
Constructor Summary
CombinedIcon(Icon firstIcon, Icon secondIcon)
           
CombinedIcon(Icon firstIcon, Icon secondIcon, int spacer)
           
CombinedIcon(Icon firstIcon, Icon secondIcon, int spacerPixels, int orient)
           
 
Method Summary
 Icon getFirstIcon()
           
 int getIconHeight()
           
 int getIconWidth()
           
 Icon getSecondIcon()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HORIZONTAL

public static final int HORIZONTAL
See Also:
Constant Field Values

VERTICAL

public static final int VERTICAL
See Also:
Constant Field Values
Constructor Detail

CombinedIcon

public CombinedIcon(Icon firstIcon,
                    Icon secondIcon)

CombinedIcon

public CombinedIcon(Icon firstIcon,
                    Icon secondIcon,
                    int spacer)

CombinedIcon

public CombinedIcon(Icon firstIcon,
                    Icon secondIcon,
                    int spacerPixels,
                    int orient)
             throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getFirstIcon

public Icon getFirstIcon()

getSecondIcon

public Icon getSecondIcon()

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

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010