Package org.jungrapht.visualization
Class LayeredIcon
- java.lang.Object
-
- javax.swing.ImageIcon
-
- org.jungrapht.visualization.LayeredIcon
-
- All Implemented Interfaces:
Serializable
,Accessible
,Icon
public class LayeredIcon extends ImageIcon
An icon that is made up of a collection of Icons. They are rendered in layers starting with the first Icon added (from the constructor).- Author:
- Tom Nelson
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
-
Constructor Summary
Constructors Constructor Description LayeredIcon(Image image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Icon icon)
void
paintIcon(Component c, Graphics g, int x, int y)
boolean
remove(Icon icon)
-
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString
-
-
-
-
Constructor Detail
-
LayeredIcon
public LayeredIcon(Image image)
-
-