samples.graph
Class VertexImageShaperDemo.Checkmark
java.lang.Object
samples.graph.VertexImageShaperDemo.Checkmark
- All Implemented Interfaces:
- Icon
- Enclosing class:
- VertexImageShaperDemo
public static class VertexImageShaperDemo.Checkmark
- extends Object
- implements Icon
a simple Icon that draws a checkmark in the lower-right quadrant of its
area. Used to draw a checkmark on Picked Vertices.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VertexImageShaperDemo.Checkmark
public VertexImageShaperDemo.Checkmark()
VertexImageShaperDemo.Checkmark
public VertexImageShaperDemo.Checkmark(Color color)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon