|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.DimensionNameSpaceAdapter
public class DimensionNameSpaceAdapter
General implementation of DimensionNameSpace
Constructor Summary | |
---|---|
DimensionNameSpaceAdapter()
|
Method Summary | |
---|---|
int |
dimension()
|
java.util.Enumeration |
dimensionNames()
|
double |
getDefault(int dim)
|
int |
getDimension(java.lang.String name)
|
java.lang.String |
getDimensionName(int dim)
|
double |
getHighLimit(int dim)
return highest allowable value for specified dimension |
double |
getLowLimit(int dim)
return lowest allowable value for specified dimension |
int |
getNumberOfNames()
|
static void |
main(java.lang.String[] args)
|
void |
setDefault(int dim,
double value)
set the default value for a dimension |
void |
setDimensionName(int dim,
java.lang.String name)
assign a name to a dimension |
void |
setLimits(int dim,
double low,
double high)
set the lowest and highest limits for a dimension |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DimensionNameSpaceAdapter()
Method Detail |
---|
public int getNumberOfNames()
getNumberOfNames
in interface DimensionNameSpace
public int dimension()
dimension
in interface DimensionNameSpace
public java.lang.String getDimensionName(int dim)
getDimensionName
in interface DimensionNameSpace
public int getDimension(java.lang.String name)
getDimension
in interface DimensionNameSpace
public void setDimensionName(int dim, java.lang.String name)
setDimensionName
in interface DimensionNameSpace
public double getLowLimit(int dim)
getLowLimit
in interface DimensionNameSpace
public double getHighLimit(int dim)
getHighLimit
in interface DimensionNameSpace
public void setLimits(int dim, double low, double high)
setLimits
in interface DimensionNameSpace
public void setDefault(int dim, double value)
DimensionNameSpace
setDefault
in interface DimensionNameSpace
public double getDefault(int dim)
getDefault
in interface DimensionNameSpace
public java.util.Enumeration dimensionNames()
dimensionNames
in interface DimensionNameSpace
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |