com.google.inject.grapher
Interface InterfaceNode.Factory<K,T extends InterfaceNode<K>>

Type Parameters:
K - The type for node IDs.
T - The InterfaceNode sub-type that this factory provides.
All Known Implementing Classes:
InterfaceNodeFactory
Enclosing interface:
InterfaceNode<K>

public static interface InterfaceNode.Factory<K,T extends InterfaceNode<K>>

Factory interface for InterfaceNodes. Renderer implementations will need to provide an implementation for this.


Method Summary
 T newInterfaceNode(K nodeId)
          Creates a new InterfaceNode and adds it to the graph.
 

Method Detail

newInterfaceNode

T newInterfaceNode(K nodeId)
Creates a new InterfaceNode and adds it to the graph.

Parameters:
nodeId - ID for the node.
Returns:
The new InterfaceNode instance.


Copyright © 2006-2011 Google, Inc.. All Rights Reserved.