com.softsynth.jmsl
Class NamedDimension
java.lang.Object
com.softsynth.jmsl.NamedDimension
- All Implemented Interfaces:
- java.io.Serializable
public class NamedDimension
- extends java.lang.Object
- implements java.io.Serializable
A named dimension has a name, dimension (int), default, max, and min. Used by
MusicShape
- Author:
- Nick Didkovsky
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NamedDimension
public NamedDimension()
setDimension
public void setDimension(int d)
getDimension
public int getDimension()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
getMax
public double getMax()
- Returns:
- maximum allowed
setMax
public void setMax(double max)
getMin
public double getMin()
- Returns:
- minimum allowed
setMin
public void setMin(double min)
setDefault
public void setDefault(double d)
getDefault
public double getDefault()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object