|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.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 this 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 | |
void |
addIcon(javax.swing.Icon icon)
|
int |
getIconHeight()
|
java.util.Collection |
getIcons()
|
int |
getIconWidth()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
void |
removeIcon(javax.swing.Icon icon)
|
void |
setIcons(java.util.Collection icons)
|
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 void addIcon(javax.swing.Icon icon)
public void removeIcon(javax.swing.Icon icon)
public void setIcons(java.util.Collection icons)
public java.util.Collection getIcons()
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, 2004, Oracle. All rights reserved.