|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DimensionNameSpace
Provides an interface for getting and setting values by name, and associating them with a dimension. Used, for example, to map "modAmp" between various objects one may store it in dimension 5 of an array where it is handed to an Instrument, while another stores it in dimension 6. See DimensionNameSpaceTranslator to handle mapping from one DimensionNameSpace to another
DimensionNameSpaceTranslator
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)
|
double |
getLowLimit(int dim)
|
int |
getNumberOfNames()
|
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 |
Method Detail |
---|
int getNumberOfNames()
int dimension()
java.lang.String getDimensionName(int dim)
int getDimension(java.lang.String name)
void setDimensionName(int dim, java.lang.String name)
double getLowLimit(int dim)
double getHighLimit(int dim)
double getDefault(int dim)
void setDefault(int dim, double value)
void setLimits(int dim, double low, double high)
java.util.Enumeration dimensionNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |