annas.graph.drawing
Interface DrawNode<N>
- Type Parameters:
A
- Arc type
- All Known Implementing Classes:
- DefaultDrawableNode
public interface DrawNode<N>
Interface for Node drawing objects
- Author:
- Sam Wilson
Method Summary |
void |
drawNode(java.awt.Graphics2D graphic,
N node,
int x,
int y)
Draws a node at a point |
drawNode
void drawNode(java.awt.Graphics2D graphic,
N node,
int x,
int y)
- Draws a node at a point
- Parameters:
graphic
- Graphic object of the image to draw the node onnode
- Node to drawx
- x coordinate of the nodey
- y coordinate of the node