com.jsyn.ports
Class UnitVariablePort
java.lang.Object
com.jsyn.ports.UnitPort
com.jsyn.ports.UnitValuePort
com.jsyn.ports.UnitVariablePort
public class UnitVariablePort
- extends UnitValuePort
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitVariablePort
public UnitVariablePort(int numParts,
java.lang.String name,
double defaultValue)
UnitVariablePort
public UnitVariablePort(java.lang.String name,
double defaultValue)
UnitVariablePort
public UnitVariablePort(java.lang.String name)
getValue
public double getValue(int partNum)
- Specified by:
getValue
in class UnitValuePort
getValue
public double getValue()
setValue
public void setValue(int partNum,
double value)
- Specified by:
setValue
in class UnitValuePort
setValue
public void setValue(double value)
getNumParts
public int getNumParts()
- Specified by:
getNumParts
in class UnitValuePort