|
|||||||||
| 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.PipeChildPort
public class PipeChildPort
Port that allows a Pipe Source to be a child 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 |
|---|
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
| Constructor Summary | |
|---|---|
PipeChildPort()
Port is always initialized as an input port. |
|
| Method Summary | |
|---|---|
PipeChildPort |
clone()
Clone port. |
java.lang.String |
getLabel()
Always returns "Child". |
java.lang.String |
getName()
Always returns "child". |
PipeSource |
getOwner()
Get source module that owns this port. |
java.lang.Object |
getValue()
Unimplemented. |
javax.swing.JPanel |
getView()
Unimplemented. |
void |
init()
Initialize child port as always an input port. |
boolean |
isCompatible(PipePort p)
Only allow child ports to connect to parent ports. |
void |
setLabel(java.lang.String label)
Unimplemented. |
void |
setName(java.lang.String name)
Unimplemented. |
void |
setValue(java.lang.Object value)
Unimplemented. |
void |
validate()
Valid if connected. |
| 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 |
| Constructor Detail |
|---|
public PipeChildPort()
| Method Detail |
|---|
public PipeChildPort 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 port
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 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 | ||||||||