public class Formula extends DocTextPart
DocTextPart.TypefieldID, fieldPos, fieldValue, type| Constructor and Description |
|---|
Formula() |
Formula(String name,
String equation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDocParam(DocTextPart newDocParam) |
void |
addParameter(String paramName,
String paramValue) |
boolean |
containsParamAtPos(int pos) |
boolean |
containsParameter(String paramName) |
HashSet<DocTextPart> |
getDocParams() |
String |
getEquation() |
DocTextPart |
getParamAtPos(int pos) |
HashMap<String,String> |
getParams() |
void |
importDocParams(Vector<DocTextPart> extInfo) |
void |
setDocParams(HashSet<DocTextPart> docParams) |
void |
setEquation(String equation) |
void |
setParams(HashMap<String,String> params) |
getFieldID, getFieldPos, getFieldValue, getType, setFieldID, setFieldPos, setFieldValue, setTypepublic boolean containsParameter(String paramName)
public String getEquation()
public void setEquation(String equation)
equation - the equation to setpublic void setParams(HashMap<String,String> params)
params - the params to setpublic void addDocParam(DocTextPart newDocParam)
public HashSet<DocTextPart> getDocParams()
public void setDocParams(HashSet<DocTextPart> docParams)
docParams - the docParams to setpublic void importDocParams(Vector<DocTextPart> extInfo)
public boolean containsParamAtPos(int pos)
public DocTextPart getParamAtPos(int pos)
Copyright © 2019 com.github.mfjamil. All rights reserved.