Class GraphFunctions.NodeFactory

java.lang.Object
mgui.interfaces.graphs.util.GraphFunctions.NodeFactory
All Implemented Interfaces:
org.apache.commons.collections15.Factory<AbstractGraphNode>
Enclosing class:
GraphFunctions

public static class GraphFunctions.NodeFactory
extends java.lang.Object
implements org.apache.commons.collections15.Factory<AbstractGraphNode>
Factory to create graph nodes.
Author:
Andrew Reid
  • Field Summary

    Fields
    Modifier and Type Field Description
    boolean add_ids  
    boolean has_locations  
    java.lang.String prefix  
  • Constructor Summary

    Constructors
    Constructor Description
    NodeFactory()  
    NodeFactory​(java.lang.Class<T> node_class)  
    NodeFactory​(java.lang.Class<T> node_class, java.lang.String prefix, boolean add_ids, boolean has_locations)  
    NodeFactory​(java.lang.String prefix)  
    NodeFactory​(java.lang.String prefix, boolean add_ids, boolean has_locations)  
  • Method Summary

    Modifier and Type Method Description
    AbstractGraphNode create()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • add_ids

      public boolean add_ids
    • has_locations

      public boolean has_locations
    • prefix

      public java.lang.String prefix
  • Constructor Details

    • NodeFactory

      public NodeFactory()
    • NodeFactory

      public NodeFactory​(java.lang.Class<T> node_class)
    • NodeFactory

      public NodeFactory​(java.lang.String prefix)
    • NodeFactory

      public NodeFactory​(java.lang.String prefix, boolean add_ids, boolean has_locations)
    • NodeFactory

      public NodeFactory​(java.lang.Class<T> node_class, java.lang.String prefix, boolean add_ids, boolean has_locations)
  • Method Details