|
SalesPoint v3.3 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.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 IconpaintIcon in class ImageIconpublic int getIconWidth()
getIconWidth in interface IcongetIconWidth in class ImageIconpublic int getIconHeight()
getIconHeight in interface IcongetIconHeight in class ImageIconpublic Rectangle getBounds()
|
SalesPoint v3.3 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||