|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipeModule
edu.jhu.ece.iacl.jist.pipeline.PipeSource
edu.jhu.ece.iacl.jist.pipeline.src.PipeExternalSource
edu.jhu.ece.iacl.jist.pipeline.src.PipeSelectionExternalSource
public class PipeSelectionExternalSource
Source to select multiple options.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
PipeModule.PipeListener |
Field Summary | |
---|---|
protected int |
index
The index. |
protected java.util.List<java.lang.String> |
selection
The selection. |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource |
---|
childPort, isReset, parentPort |
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 | |
---|---|
PipeSelectionExternalSource()
Instantiates a new pipe selection source. |
Method Summary | |
---|---|
void |
connectAction(PipePort port)
Update selection options when a new connector is added. |
ParamCollection |
createInputParams()
Create input parameters. |
ParamCollection |
createOutputParams()
Create output parameters. |
void |
disconnectAction(PipePort owner,
PipePort child,
PipeConnector wire)
Update selection options if connector is removed. |
ParamOption |
getOutputParam()
Get output parameter. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeExternalSource |
---|
getDefaultParam, hasNext, iterate, reset |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource |
---|
createModuleCell, disconnect, getChildPort, getParentPort, getRoot, init, isRoot |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
addListener, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.util.List<java.lang.String> selection
protected transient int index
Constructor Detail |
---|
public PipeSelectionExternalSource()
Method Detail |
---|
public void connectAction(PipePort port)
connectAction
in interface PipePort.PortListener
connectAction
in class PipeModule
port
- the portpublic ParamCollection createInputParams()
createInputParams
in class PipeSource
public ParamCollection createOutputParams()
createOutputParams
in class PipeSource
public void disconnectAction(PipePort owner, PipePort child, PipeConnector wire)
disconnectAction
in interface PipePort.PortListener
disconnectAction
in class PipeModule
owner
- the ownerchild
- the childwire
- the wirepublic ParamOption getOutputParam()
getOutputParam
in class PipeExternalSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |