|
|||||||||
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.PipeModule edu.jhu.ece.iacl.jist.pipeline.PipeAlgorithm edu.jhu.ece.iacl.jist.pipeline.PipeAlgorithmGroup
public class PipeAlgorithmGroup
Algorithm group is an aggregation of PipeAlgorithms. An algorithm group is only a container, it's not directly executable.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
PipeModule.PipeListener |
Field Summary | |
---|---|
protected java.util.Vector<PipeAlgorithm> |
moduleGroup
Collection of PipeAlgorithms. |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeAlgorithm |
---|
algo, lastCell, mapFile, parent |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
bounds, cell, currentContext, inputHash, inputParams, inputPorts, label, listeners, name, outputHash, outputParams, outputPorts |
Constructor Summary | |
---|---|
PipeAlgorithmGroup()
Default constructor. |
Method Summary | |
---|---|
void |
add(PipeAlgorithm algo)
Add algorithm to collection. |
PipeAlgorithmGroup |
clone()
Return clone of this group. |
protected ProcessingAlgorithm |
createAlgorithm()
Create Processing Algorithm from the algorithm class. |
PipeAlgorithmFactory.AlgorithmGroupCell |
createModuleCell()
Create cell to render this module. |
java.lang.Class |
getAlgorithmClass()
Always returns null. |
java.util.Vector<PipeAlgorithm> |
getAllDescendantModules()
Get all descendant modules in group. |
java.util.Vector<PipeAlgorithm> |
getAllLeafModules()
Get all leaf modules. |
java.util.Vector<PipeAlgorithm> |
getGroupModules()
Get all modules in group. |
PipeModuleCell |
init(PipeJGraph graph)
Initialize transient fields that could not be deserialized. |
void |
remove(PipeAlgorithm algo)
Remove algorithm from collection. |
void |
removeAllChildren()
Remove all algorithms from collection. |
boolean |
saveAs()
Save group to user selected file. |
int |
size()
Returns size of collection. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeAlgorithm |
---|
fromXML, getAlgorithm, getCategory, getCurrentParentContexts, getDefaultJVMArgs, getMapFile, getPackage, getParentGroup, isRoot, open, read, saveInputParams, saveOutputParams, selectSaveFile, setAlgorithm, setMapFile, setParentGroup, toString, toXML, write |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
addListener, connectAction, disconnect, disconnectAction, forward, getAncestors, getAncestors, getBounds, getChildren, getCurrentContext, getDescendants, getDescendants, getInputHash, getInputParams, getInputPorts, getLabel, getListeners, getModuleCell, getName, getOutputHash, getOutputParams, getOutputPorts, getParents, isAncestorOf, isDescendantOf, push, removeAllListeners, removeListener, setBounds, setCurrentContext, setLabel, setModuleCell, setName, update |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector<PipeAlgorithm> moduleGroup
Constructor Detail |
---|
public PipeAlgorithmGroup()
Method Detail |
---|
public void add(PipeAlgorithm algo)
algo
- algorithmpublic PipeAlgorithmGroup clone() throws java.lang.CloneNotSupportedException
clone
in class PipeAlgorithm
java.lang.CloneNotSupportedException
- the clone not supported exceptionprotected ProcessingAlgorithm createAlgorithm()
createAlgorithm
in class PipeAlgorithm
public PipeAlgorithmFactory.AlgorithmGroupCell createModuleCell()
createModuleCell
in class PipeAlgorithm
public java.lang.Class getAlgorithmClass()
getAlgorithmClass
in class PipeAlgorithm
public java.util.Vector<PipeAlgorithm> getAllDescendantModules()
public java.util.Vector<PipeAlgorithm> getAllLeafModules()
public java.util.Vector<PipeAlgorithm> getGroupModules()
public PipeModuleCell init(PipeJGraph graph)
init
in class PipeAlgorithm
graph
- Layout graph if one is available, null otherwise
public void remove(PipeAlgorithm algo)
algo
- algorithmpublic void removeAllChildren()
public boolean saveAs()
saveAs
in class PipeAlgorithm
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |