Version: 1.1.1

ca.ucalgary.seahawk.util
Class CloseTabIcon

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

public class CloseTabIcon
extends CombinedIcon


Field Summary
static String CLOSE_TAB_ICON_RESOURCE
           
 
Fields inherited from class ca.ucalgary.seahawk.util.CombinedIcon
HORIZONTAL, VERTICAL
 
Constructor Summary
CloseTabIcon()
           
CloseTabIcon(Icon otherIcon)
           
CloseTabIcon(Icon otherIcon, int spacerWidth)
           
CloseTabIcon(Icon otherIcon, int spacerWidth, int orient)
           
 
Method Summary
 Rectangle getCloseIconArea()
           
static Icon getIcon()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class ca.ucalgary.seahawk.util.CombinedIcon
getFirstIcon, getIconHeight, getIconWidth, getSecondIcon
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLOSE_TAB_ICON_RESOURCE

public static final String CLOSE_TAB_ICON_RESOURCE
See Also:
Constant Field Values
Constructor Detail

CloseTabIcon

public CloseTabIcon()
             throws Exception
Throws:
Exception

CloseTabIcon

public CloseTabIcon(Icon otherIcon)
             throws Exception
Throws:
Exception

CloseTabIcon

public CloseTabIcon(Icon otherIcon,
                    int spacerWidth)
             throws Exception
Throws:
Exception

CloseTabIcon

public CloseTabIcon(Icon otherIcon,
                    int spacerWidth,
                    int orient)
             throws Exception
Throws:
Exception
Method Detail

getCloseIconArea

public Rectangle getCloseIconArea()

getIcon

public static Icon getIcon()
                    throws Exception
Throws:
Exception

paintIcon

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

Version: 1.1.1

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