|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.results.ResultsFactoryImpl
Factory to build any specified results implementation classes.
Constructor Summary | |
ResultsFactoryImpl()
Builds an uninitialized ResultsFactoryImpl. |
Method Summary | |
ResultsConstraint |
buildConstraint()
Build the ResultsConstraint specified in the current configuration. |
ResultsEdge |
buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build a ResultsEdge with the specified values. |
ResultsGenerator |
buildGenerator()
Builds the ResultsGenerator specified in the current configuration. |
ResultsFactory |
setValues(java.lang.Class resultsEdge,
java.lang.Class resultsConstraint,
java.lang.Class resultsGenerator)
Sets the initial values for this ResultsFactory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultsFactoryImpl()
Method Detail |
public ResultsFactory setValues(java.lang.Class resultsEdge, java.lang.Class resultsConstraint, java.lang.Class resultsGenerator) throws InitializationException
setValues
in interface ResultsFactory
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.ResultsFactory.setValues(java.lang.Class, java.lang.Class, java.lang.Class)
public ResultsEdge buildEdge(Id source, Id target, boolean directed, java.lang.String fill) throws InitializationException
buildEdge
in interface ResultsFactory
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
buildGenerator
in interface ResultsFactory
InitializationException
- if an error occurs during the initialization.public ResultsConstraint buildConstraint() throws InitializationException
buildConstraint
in interface ResultsFactory
InitializationException
- if an error occurs during the initialization.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |