edu.uci.ics.jung.visualization
Class LayeredIcon
java.lang.Object
javax.swing.ImageIcon
edu.uci.ics.jung.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
Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString |
LayeredIcon
public LayeredIcon(Image image)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
- Overrides:
paintIcon
in class ImageIcon
add
public void add(Icon icon)
remove
public boolean remove(Icon icon)
Copyright © 2009. All Rights Reserved.