|
|||||||||
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.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 PipeListSource
public ParamCollection createOutputParams()
PipeSource
createOutputParams
in class PipeSource
public ParamOption getOutputParam()
PipeSource
getOutputParam
in class PipeSource
protected java.lang.String getValue(int i)
PipeListSource
getValue
in class PipeListSource
i
- the i
protected void setValue(java.lang.Object obj)
PipeListSource
setValue
in class PipeListSource
obj
- the objpublic void reset()
reset
in class PipeListSource
public void connectAction(PipePort port)
PipeModule
connectAction
in interface PipePort.PortListener
connectAction
in class PipeModule
port
- the ownerpublic void disconnectAction(PipePort owner, PipePort child, PipeConnector wire)
PipeModule
disconnectAction
in interface PipePort.PortListener
disconnectAction
in class PipeModule
owner
- the ownerchild
- the childwire
- the wire
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |