public class TextualGraphComponentDrawer extends BasicGraphComponentDrawer
| Constructor and Description |
|---|
TextualGraphComponentDrawer() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
arrowDistanceFromEnd() |
java.awt.Shape |
drawNode(Node node,
Position position,
java.awt.Graphics g,
java.awt.Color background,
Shape shape)
Draw the given node at the given position, with the given Graphics object.
|
double |
horizontalBorder()
The horizontal border needed by the drawn nodes.
|
double |
verticalBorder()
The vertical border needed by the drawn nodes.
|
drawEdgeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphComponentDrawerpublic java.awt.Shape drawNode(Node node, Position position, java.awt.Graphics g, java.awt.Color background, Shape shape)
GraphComponentDrawerdrawNode in interface GraphComponentDrawerdrawNode in class BasicGraphComponentDrawernode - The node to draw.position - The screen position at which to draw the node.g - The Graphics object to draw the node with.background - The background color to draw the node with.shape - The shape to draw the node as.public double horizontalBorder()
GraphComponentDrawerhorizontalBorder in interface GraphComponentDrawerhorizontalBorder in class BasicGraphComponentDrawerprotected int arrowDistanceFromEnd()
arrowDistanceFromEnd in class BasicGraphComponentDrawerpublic double verticalBorder()
GraphComponentDrawerverticalBorder in interface GraphComponentDrawerverticalBorder in class BasicGraphComponentDrawer