samples.graph
Class VertexImageShaperDemo.LayeredIcon
java.lang.Object
javax.swing.ImageIcon
samples.graph.VertexImageShaperDemo.LayeredIcon
- All Implemented Interfaces:
- Serializable, Accessible, Icon
- Enclosing class:
- VertexImageShaperDemo
public static class VertexImageShaperDemo.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 - RABA Technologies
- See Also:
- Serialized Form
Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString |
VertexImageShaperDemo.LayeredIcon
public VertexImageShaperDemo.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)