public class NewInternetAction extends AbstractNewAction
Constructor and Description |
---|
NewInternetAction(ConfigurationGraph graph)
action for a new Internet-Object.
|
Modifier and Type | Method and Description |
---|---|
protected Node |
createNode(java.awt.Point p)
Abstract Methode for adding a Node to the graph.
|
actionPerformed
public NewInternetAction(ConfigurationGraph graph)
graph
- the graph.protected Node createNode(java.awt.Point p) throws CreateNodeException
AbstractNewAction
createNode
in class AbstractNewAction
p
- Point, where the node should be addedCreateNodeException
- Exception if the node could not be created.