public class InterfaceNodeFactory extends Object implements InterfaceNode.Factory<String,InterfaceNode<String>>
InterfaceNode.Factory
. Uses
a GraphvizEdgeAdaptor
to delegate to a GraphvizNode
.Modifier and Type | Class and Description |
---|---|
protected class |
InterfaceNodeFactory.GraphvizNodeAdaptor
Adaptor class that converts
InterfaceNode methods to display
operations on a GraphvizNode . |
Constructor and Description |
---|
InterfaceNodeFactory(GraphvizRenderer renderer,
NameFactory nameFactory) |
Modifier and Type | Method and Description |
---|---|
InterfaceNode<String> |
newInterfaceNode(String nodeId)
Creates a new
InterfaceNode and adds it to the graph. |
@Inject public InterfaceNodeFactory(GraphvizRenderer renderer, NameFactory nameFactory)
public InterfaceNode<String> newInterfaceNode(String nodeId)
InterfaceNode.Factory
InterfaceNode
and adds it to the graph.newInterfaceNode
in interface InterfaceNode.Factory<String,InterfaceNode<String>>
nodeId
- ID for the node.InterfaceNode
instance.Copyright © 2006-2012 Google, Inc.. All Rights Reserved.