|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Its objective is build any required element to build a graph.
Any future implementation must contain the no argument constructor.
Method Summary | |
ResultsConstraint |
buildConstraint()
Build the Constraint specified in the properties file. |
ResultsEdge |
buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build an edge with the specified values. |
ResultsGenerator |
buildGenerator()
Builds the Generator specified in the properties file. |
ResultsFactory |
setValues(java.lang.Class resultsEdge,
java.lang.Class resultsConstraint,
java.lang.Class resultsGenerator)
Sets the initial values for this ResultsFactory. |
Method Detail |
public ResultsFactory setValues(java.lang.Class resultsEdge, java.lang.Class resultsConstraint, java.lang.Class resultsGenerator) throws InitializationException
resultsEdge
- Class reference of the current ResultsEdge implementation.resultsConstraint
- Class reference of the current ResultsConstraint
implementation.resultsGenerator
- Class reference of the current ResultsGenerator
implementation.
InitializationException
- if some error occurs during the
initialization process.public ResultsEdge buildEdge(Id source, Id target, boolean directed, java.lang.String fill) throws InitializationException
source
- Source node Id.target
- Destination node Id.directed
- true when the edge is directed. false in other case.fill
- Fill color in "#RRGGBB" format.
InitializationException
- if an error occurs during the initialization.public ResultsGenerator buildGenerator() throws InitializationException
InitializationException
- if an error occurs during the initialization.public ResultsConstraint buildConstraint() throws InitializationException
InitializationException
- if an error occurs during the initialization.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |