|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.controls.OverlayIcon
An icon that consists of multiple source icons, painted on top of each other. The result image will be the size of the biggest source icon, and all images will match their top left co-ordinates. You generally use thi with transparent icons.
Constructor Summary | |
OverlayIcon(java.util.Collection icons)
Construct a multiple image icon that consists of multiple images. |
|
OverlayIcon(javax.swing.Icon[] icons)
Construct a multiple image icon that consists of multiple images. |
|
OverlayIcon(javax.swing.Icon lower,
javax.swing.Icon upper)
A simple multiple image icon that consists of just two images. |
Method Summary | |
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OverlayIcon(javax.swing.Icon lower, javax.swing.Icon upper)
public OverlayIcon(java.util.Collection icons)
public OverlayIcon(javax.swing.Icon[] icons)
Method Detail |
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.