|
|||||||||
| 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.PipeListSource
edu.jhu.ece.iacl.jist.pipeline.src.PipeSelectionListSource
public class PipeSelectionListSource
A parameter that allows the user to input a number of options from a text file
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
|---|
PipeModule.PipeListener |
| Field Summary | |
|---|---|
protected ParamFile |
fileParam
The file param. |
protected ParamOption |
option
The option. |
protected java.util.HashMap<java.lang.String,java.lang.Integer> |
optionMap
The Map |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource |
|---|
data, endEntry, index, offset, startEntry |
| 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 | |
|---|---|
PipeSelectionListSource()
Instantiates a new pipe selection List source. |
|
| Method Summary | |
|---|---|
void |
connectAction(PipePort port)
Listen for connection event to occur on a port. |
ParamCollection |
createInputParams()
Create input parameters. |
ParamCollection |
createOutputParams()
Create output parameters for this source. |
void |
disconnectAction(PipePort owner,
PipePort child,
PipeConnector wire)
Listen for disconnect event to occur on a port. |
ParamOption |
getOutputParam()
Get parameter representing the output to this source. |
protected java.lang.String |
getValue(int i)
Get list value. |
void |
reset()
Reset iterator. |
protected void |
setValue(java.lang.Object obj)
Set list value. |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource |
|---|
hasNext, iterate |
| 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 ParamOption option
protected ParamFile fileParam
protected transient java.util.HashMap<java.lang.String,java.lang.Integer> optionMap
| Constructor Detail |
|---|
public PipeSelectionListSource()
| Method Detail |
|---|
public ParamCollection createInputParams()
PipeListSource
createInputParams in class PipeListSourcepublic ParamCollection createOutputParams()
PipeSource
createOutputParams in class PipeSourcepublic ParamOption getOutputParam()
PipeSource
getOutputParam in class PipeSourceprotected java.lang.String getValue(int i)
PipeListSource
getValue in class PipeListSourcei - the i
protected void setValue(java.lang.Object obj)
PipeListSource
setValue in class PipeListSourceobj - the objpublic void reset()
reset in class PipeListSourcepublic void connectAction(PipePort port)
PipeModule
connectAction in interface PipePort.PortListenerconnectAction in class PipeModuleport - the owner
public void disconnectAction(PipePort owner,
PipePort child,
PipeConnector wire)
PipeModule
disconnectAction in interface PipePort.PortListenerdisconnectAction in class PipeModuleowner - the ownerchild - the childwire - the wire
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||