G
- the type of graph created by the factory.public abstract class AbstractGraphFactory<G extends Graph<?,?>> extends Object implements GraphFactory<G>
Constructor and Description |
---|
AbstractGraphFactory(Class graphClass,
String graphClassName) |
Modifier and Type | Method and Description |
---|---|
EdgeStyle |
createDefaultEdgeStyle(G graph) |
NodeStyle |
createDefaultNodeStyle(G graph) |
Class<G> |
getGraphClass()
Return the class of graph this factory is managing
|
String |
getGraphType()
Return the type of graph this factory is managing
|
Class |
getParser()
Return the class of the parser to use to read from file the type
of graph the factory manager
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public Class<G> getGraphClass()
GraphFactory
getGraphClass
in interface GraphFactory<G extends Graph<?,?>>
public String getGraphType()
GraphFactory
getGraphType
in interface GraphFactory<G extends Graph<?,?>>
public Class getParser()
GraphFactory
getParser
in interface GraphFactory<G extends Graph<?,?>>
public NodeStyle createDefaultNodeStyle(G graph)
createDefaultNodeStyle
in interface GraphFactory<G extends Graph<?,?>>
public EdgeStyle createDefaultEdgeStyle(G graph)
createDefaultEdgeStyle
in interface GraphFactory<G extends Graph<?,?>>
Copyright © 2005–2020. All rights reserved.