|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.pipeline.graph.PipeModuleFactory edu.jhu.ece.iacl.jist.pipeline.graph.PipeAlgorithmFactory
public class PipeAlgorithmFactory
Creates algorithm modules from a module definition.
Nested Class Summary | |
---|---|
static class |
PipeAlgorithmFactory.AlgorithmCell
Get module cell that represents algorithm. |
static class |
PipeAlgorithmFactory.AlgorithmGroupCell
Get module cell that represents algorithm group. |
static class |
PipeAlgorithmFactory.AlgorithmGroupNode
Tree node to represent algorithm. |
static class |
PipeAlgorithmFactory.AlgorithmNode
Tree node to represent algorithm. |
Field Summary | |
---|---|
protected java.io.File |
mapFile
The map file. |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.graph.PipeModuleFactory |
---|
c, name, version |
Constructor Summary | |
---|---|
PipeAlgorithmFactory(java.io.File mapFile)
Constructor. |
|
PipeAlgorithmFactory(java.lang.String name,
java.lang.Class c)
Constructor. |
Method Summary | |
---|---|
PipeAlgorithmFactory.AlgorithmCell |
createGraphCell()
Create graph cell to represent algorithm. |
PipeAlgorithm |
createPipe()
Create module to represent algorithm. |
DraggableNode |
createTreeNode()
Create tree node to represent algorithm. |
java.io.File |
getMapFile()
Get module definition file. |
void |
rename(java.lang.String label)
Rename module and save the change to the module definition file. |
void |
setMapFile(java.io.File f)
Set module definition file. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.graph.PipeModuleFactory |
---|
getModuleClass, getModuleName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File mapFile
Constructor Detail |
---|
public PipeAlgorithmFactory(java.io.File mapFile) throws java.lang.ClassNotFoundException
mapFile
- file that contains module definition
java.lang.ClassNotFoundException
- the class not found exceptionpublic PipeAlgorithmFactory(java.lang.String name, java.lang.Class c)
name
- name of modulec
- algorithm class for moduleMethod Detail |
---|
public PipeAlgorithmFactory.AlgorithmCell createGraphCell()
createGraphCell
in class PipeModuleFactory
public PipeAlgorithm createPipe()
createPipe
in class PipeModuleFactory
public DraggableNode createTreeNode()
createTreeNode
in class PipeModuleFactory
public java.io.File getMapFile()
public void rename(java.lang.String label)
label
- module namepublic void setMapFile(java.io.File f)
f
- module file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |