| java.lang.Object org.underworldlabs.swing.plaf.TabCloseIcon
TabCloseIcon | public class TabCloseIcon implements Icon(Code) | | Simple icon drawing the close button
for a closeable tab on the CloseTabbedPane.
author: Takis Diakoumis version: $Revision: 1.4 $ |
ICON_HEIGHT | final protected static int ICON_HEIGHT(Code) | | the icon height
|
ICON_WIDTH | final protected static int ICON_WIDTH(Code) | | the icon width
|
TabCloseIcon | public TabCloseIcon()(Code) | | Creates a new instance of TabCloseButtonIcon
|
getIconHeight | public int getIconHeight()(Code) | | Returns the icon's height.
the height of the icon |
getIconWidth | public int getIconWidth()(Code) | | Returns the icon's width.
the width of the icon |
paintIcon | public void paintIcon(Component c, Graphics g, int x, int y)(Code) | | Draw the icon at the specified location.
Parameters: the - component Parameters: the - graphics context Parameters: x - coordinate Parameters: y - coordinate |
|
|