|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.emboss.jemboss.parser.acd.ApplicationFields
Object for an field in the ACD file. Each field contains a number of parameter which are stored as ApplicationParam objects.
| Field Summary | |
private ApplicationParam[] |
appP
parameters for this field |
private int |
guiHandleNumber
the gui handle |
private int |
numofParams
number of parameters for this field |
| Constructor Summary | |
ApplicationFields()
|
|
| Method Summary | |
int |
getGuiHandleNumber()
Get the gui handle |
int |
getNumberOfParam()
Get the number of parameters in this field |
java.lang.String |
getParamAttribute(int index)
Get a parameter attribute, given the parameter number in the field |
double |
getParamValueDbl(int index)
Get a parameter value, given the parameter number in the field |
java.lang.String |
getParamValueStr(int index)
Get a parameter value, given the parameter number in the field |
boolean |
isParamValueStr(int index)
Determine if the parameter value is a string |
void |
setGuiHandleNumber(int guiHandleNumber)
Set the gui handle |
void |
setNumberOfParam(int numofParams)
Set the number of parmeters in this field |
void |
setParam(int index,
java.lang.String attr,
double nvalue)
Set the value of a parameter |
void |
setParam(int index,
java.lang.String attr,
java.lang.String sval)
Set the value of a parameter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int numofParams
private int guiHandleNumber
private ApplicationParam[] appP
| Constructor Detail |
public ApplicationFields()
| Method Detail |
public void setNumberOfParam(int numofParams)
numofParams - number of parmeters in this field
public void setParam(int index,
java.lang.String attr,
java.lang.String sval)
index - parameter numberattr - parameter attribute (type, help, optional...)sval - parameter value
public void setParam(int index,
java.lang.String attr,
double nvalue)
index - parameter numberattr - parameter attribute (type, help, optional...)nvalue - parameter valuepublic java.lang.String getParamAttribute(int index)
index - parameter number
public java.lang.String getParamValueStr(int index)
index - parameter number
public double getParamValueDbl(int index)
index - parameter number
public boolean isParamValueStr(int index)
public int getNumberOfParam()
public void setGuiHandleNumber(int guiHandleNumber)
guiHandleNumber - gui handlepublic int getGuiHandleNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||