K
- The type for node IDs.T
- The InterfaceNode
sub-type that this factory provides.public static interface InterfaceNode.Factory<K,T extends InterfaceNode<K>>
InterfaceNode
s. Renderer implementations
will need to provide an implementation for this.Modifier and Type | Method and Description |
---|---|
T |
newInterfaceNode(K nodeId)
Creates a new
InterfaceNode and adds it to the graph. |
T newInterfaceNode(K nodeId)
InterfaceNode
and adds it to the graph.nodeId
- ID for the node.InterfaceNode
instance.Copyright © 2006-2012 Google, Inc.. All Rights Reserved.