|
|||||||||
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.PipeSource edu.jhu.ece.iacl.jist.pipeline.src.PipeSelectionSource
public class PipeSelectionSource
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 ParamMultiOption |
multiOption
The multi option. |
protected ParamOption |
option
The option. |
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 | |
---|---|
PipeSelectionSource()
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. |
boolean |
hasNext()
Returns true if iterator has more elements. |
boolean |
iterate()
Iterate. |
void |
reset()
Reset iterator. |
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 ParamMultiOption multiOption
protected ParamOption option
protected transient java.util.List<java.lang.String> selection
protected transient int index
Constructor Detail |
---|
public PipeSelectionSource()
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 PipeSource
public boolean hasNext()
hasNext
in class PipeSource
public boolean iterate()
iterate
in class PipeSource
public void reset()
reset
in class PipeSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |