|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipePort<java.lang.Object>
edu.jhu.ece.iacl.jist.pipeline.PipeParentPort
public class PipeParentPort
Port that allows a Pipe Source to be a parent of another Pipe Source.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
PipePort.PortListener, PipePort.type |
| Field Summary | |
|---|---|
protected ParamModel |
param
The parameter. |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
| Constructor Summary | |
|---|---|
PipeParentPort()
Parent ports are always initialized as output ports. |
|
| Method Summary | |
|---|---|
PipeParentPort |
clone()
Clone parent port. |
java.lang.String |
getLabel()
Always returns "Parent". |
java.lang.String |
getName()
Always returns "parent". |
PipeSource |
getOwner()
Get source that owns this port. |
java.lang.Object |
getValue()
Get value from associated parameter. |
javax.swing.JPanel |
getView()
Unimplemented. |
void |
init()
Initialize port to always be a parent port. |
boolean |
isCompatible(PipePort p)
Return true if other port is child port. |
void |
setLabel(java.lang.String label)
Unimplemented. |
void |
setName(java.lang.String name)
Unimplemented. |
void |
setParameter(ParamModel param)
Set output parameter that is associated with this parent port. |
void |
setValue(java.lang.Object value)
Unimplemented. |
void |
validate()
Port is valid if it is connected to a child port. |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
addListener, disconnect, disconnect, disconnect, disconnect, getDescription, getGraphPort, getIncomingConnector, getIncomingConnectors, getIncomingPorts, getListeners, getMaxIncoming, getMaxOutgoing, getOutgoingConnector, getOutgoingConnectors, getOutgoingPorts, getPortType, isConnected, isConnectedTo, isConnectible, isInputPort, isOutputPort, notifyListenersOfConnection, notifyListenersOfDisconnection, removeAllListeners, removeListener, setConnectable, setGraphPort, setMaxIncoming, setMaxOutgoing, setOwner, setPortType, setUseConnector, toString, usingConnector |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected transient ParamModel param
| Constructor Detail |
|---|
public PipeParentPort()
| Method Detail |
|---|
public PipeParentPort clone()
clone in class PipePort<java.lang.Object>public java.lang.String getLabel()
getLabel in class PipePort<java.lang.Object>public java.lang.String getName()
getName in class PipePort<java.lang.Object>public PipeSource getOwner()
getOwner in class PipePort<java.lang.Object>public java.lang.Object getValue()
getValue in class PipePort<java.lang.Object>public javax.swing.JPanel getView()
getView in class PipePort<java.lang.Object>public void init()
init in class PipePort<java.lang.Object>public boolean isCompatible(PipePort p)
isCompatible in class PipePort<java.lang.Object>p - the p
public void setLabel(java.lang.String label)
setLabel in class PipePort<java.lang.Object>label - the labelpublic void setName(java.lang.String name)
setName in class PipePort<java.lang.Object>name - the namepublic void setParameter(ParamModel param)
param - parameterpublic void setValue(java.lang.Object value)
setValue in class PipePort<java.lang.Object>value - the value
public void validate()
throws InvalidParameterException
validate in class PipePort<java.lang.Object>InvalidParameterException - the invalid parameter exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||