com.softsynth.jmsl
Class PanAmpPair
java.lang.Object
com.softsynth.jmsl.PanAmpPair
- All Implemented Interfaces:
- XMLCreatable, XMLWritable
public class PanAmpPair
- extends java.lang.Object
- implements XMLWritable, XMLCreatable
- Author:
- Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PanAmpPair
public PanAmpPair()
PanAmpPair
public PanAmpPair(int index,
double pan,
double amp)
setPan
public void setPan(double v)
setAmp
public void setAmp(double v)
setFaderIndex
public void setFaderIndex(int i)
getPan
public double getPan()
getFaderIndex
public int getFaderIndex()
getAmp
public double getAmp()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
handleAttribute
public void handleAttribute(java.lang.String name,
java.lang.String value)
- XMLCreatable Interface
- Specified by:
handleAttribute
in interface XMLCreatable
create
public java.lang.Object create()
- XMLCreatable Interface
- Specified by:
create
in interface XMLCreatable
writeXML
public void writeXML(java.io.PrintWriter out)
throws java.io.IOException
- Specified by:
writeXML
in interface XMLWritable
- Throws:
java.io.IOException