|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.ImageIcon sale.multiwindow.IconTabbedPane.CloseTabIcon
protected class IconTabbedPane.CloseTabIcon
Extends ImageIcon by method getBounds
to make it possible to determine the coordinates of
the icon on the screen.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.ImageIcon |
---|
ImageIcon.AccessibleImageIcon |
Field Summary |
---|
Fields inherited from class javax.swing.ImageIcon |
---|
component, tracker |
Constructor Summary | |
---|---|
IconTabbedPane.CloseTabIcon(ImageIcon icon)
Creates a CloseTabIcon from an ImageIcon. |
Method Summary | |
---|---|
Rectangle |
getBounds()
Returns the position of the icon on the screen. |
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
Image |
getImage()
Returns the image of the ImageIcon. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the Icon. |
Methods inherited from class javax.swing.ImageIcon |
---|
getAccessibleContext, getDescription, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IconTabbedPane.CloseTabIcon(ImageIcon icon)
Method Detail |
---|
public Image getImage()
getImage
in class ImageIcon
public void paintIcon(Component c, Graphics g, int x, int y)
paintIcon
in interface Icon
paintIcon
in class ImageIcon
public int getIconWidth()
getIconWidth
in interface Icon
getIconWidth
in class ImageIcon
public int getIconHeight()
getIconHeight
in interface Icon
getIconHeight
in class ImageIcon
public Rectangle getBounds()
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |