uk.ed.inf.graph.colour
Interface IColouredNodeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>


public interface IColouredNodeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>


Method Summary
 N createNode()
           
 IColouredGraph<N,E> getGraph()
          Get the graph to which this factory acts upon.
 void setColourHandlerFactory(INodeColourHandlerFactory<? extends N,? extends E> handlerFactory)
           
 

Method Detail

getGraph

IColouredGraph<N,E> getGraph()
Get the graph to which this factory acts upon.

Returns:
The owning graph, cannot be null.

setColourHandlerFactory

void setColourHandlerFactory(INodeColourHandlerFactory<? extends N,? extends E> handlerFactory)

createNode

N createNode()