ca.ucalgary.seahawk.util
Class CombinedIcon
java.lang.Object
ca.ucalgary.seahawk.util.CombinedIcon
- All Implemented Interfaces:
- Icon
- Direct Known Subclasses:
- CloseTabIcon
public class CombinedIcon
- extends Object
- implements Icon
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
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
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
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010