- java.lang.Object
-
- org.praxislive.core.ControlPort
-
- org.praxislive.core.ControlPort.Input
-
- org.praxislive.code.ControlInput
-
- All Implemented Interfaces:
Port
public class ControlInput extends ControlPort.Input
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ControlInput.Link
-
Nested classes/interfaces inherited from class org.praxislive.core.ControlPort
ControlPort.Input, ControlPort.Output
-
Nested classes/interfaces inherited from interface org.praxislive.core.Port
Port.Type<T extends Port>, Port.TypeProvider
-
-
Constructor Summary
Constructors Constructor Description ControlInput(ControlInput.Link link)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addControlOutputPort(ControlPort.Output port)
void
addListener(PortListener listener)
List<ControlPort.Output>
connections()
void
disconnectAll()
ControlInput.Link
getLink()
void
receive(long time, double value)
void
receive(long time, Value value)
protected void
removeControlOutputPort(ControlPort.Output port)
void
removeListener(PortListener listener)
void
setLink(ControlInput.Link link)
-
Methods inherited from class org.praxislive.core.ControlPort.Input
connect, disconnect
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.praxislive.core.Port
isConnectedTo
-
-
-
-
Field Detail
-
INFO
public static final PortInfo INFO
-
-
Constructor Detail
-
ControlInput
public ControlInput(ControlInput.Link link)
-
-
Method Detail
-
setLink
public void setLink(ControlInput.Link link)
-
getLink
public ControlInput.Link getLink()
-
addControlOutputPort
protected void addControlOutputPort(ControlPort.Output port) throws PortConnectionException
- Specified by:
addControlOutputPort
in classControlPort.Input
- Throws:
PortConnectionException
-
removeControlOutputPort
protected void removeControlOutputPort(ControlPort.Output port)
- Specified by:
removeControlOutputPort
in classControlPort.Input
-
disconnectAll
public void disconnectAll()
-
addListener
public void addListener(PortListener listener)
-
removeListener
public void removeListener(PortListener listener)
-
connections
public List<ControlPort.Output> connections()
-
receive
public void receive(long time, double value)
- Specified by:
receive
in classControlPort.Input
-
receive
public void receive(long time, Value value)
- Specified by:
receive
in classControlPort.Input
-
-