|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.ui.main.CloseTabIcon
The class which generates the 'X' icon for the tabs. The constructor accepts an icon which is extra to the 'X' icon, so you can have tabs like in JBuilder. This value is null if no extra icon is required.
Constructor Summary | |
CloseTabIcon(javax.swing.Icon fileIcon)
CloseTabIcon |
Method Summary | |
java.awt.Rectangle |
getBounds()
get the boundaries |
int |
getIconHeight()
get icon height |
int |
getIconWidth()
get the icon width |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Paint icon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CloseTabIcon(javax.swing.Icon fileIcon)
fileIcon
- the file iconMethod Detail |
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
c
- componentg
- graphics gx
- xy
- ypublic int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public java.awt.Rectangle getBounds()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |