Package | Description |
---|---|
horstmann.ch08_umleditor |
Modifier and Type | Field and Description |
---|---|
private Node |
AbstractEdge.end |
private Node |
AbstractEdge.start |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Node> |
Graph.nodes |
Modifier and Type | Method and Description |
---|---|
Node |
Graph.findNode(java.awt.geom.Point2D p)
Finds a node containing the given point.
|
Node |
AbstractEdge.getEnd() |
Node |
Edge.getEnd()
Gets the ending node.
|
Node[] |
ClassDiagramGraph.getNodePrototypes() |
abstract Node[] |
Graph.getNodePrototypes()
Gets the node types of a particular graph type.
|
Node |
AbstractEdge.getStart() |
Node |
Edge.getStart()
Gets the starting node.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
Graph.getNodes()
Gets the nodes of this graph.
|
Modifier and Type | Method and Description |
---|---|
void |
ToolBar.add(Node n)
Adds a node to the tool bar.
|
boolean |
Graph.add(Node n,
java.awt.geom.Point2D p)
Adds a node to the graph so that the top left corner of
the bounding rectangle is at the given point.
|
void |
AbstractEdge.connect(Node s,
Node e) |
void |
Edge.connect(Node aStart,
Node anEnd)
Connects this edge to two nodes.
|
void |
Graph.removeNode(Node n)
Removes a node and all edges that start or end with that node
|