org.rosuda.deducer.plots
Class Template
java.lang.Object
org.rosuda.deducer.plots.Template
- All Implemented Interfaces:
- CompoundElementModel, ElementModel
public class Template
- extends java.lang.Object
- implements CompoundElementModel
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elements
protected PlottingElement[] elements
mAess
protected Template.MaskingAes[] mAess
mParams
protected Template.MaskingParam[] mParams
Template
public Template()
getElements
public PlottingElement[] getElements()
- Specified by:
getElements
in interface CompoundElementModel
checkValid
public java.lang.String checkValid()
- Specified by:
checkValid
in interface ElementModel
getCall
public java.lang.String getCall()
- Specified by:
getCall
in interface ElementModel
getParams
public java.util.Vector getParams()
- Specified by:
getParams
in interface ElementModel
getAess
public java.util.Vector getAess()
getMAess
public java.util.Vector getMAess()
getType
public java.lang.String getType()
- Specified by:
getType
in interface ElementModel
getView
public ElementView getView()
- Specified by:
getView
in interface ElementModel
setFromXML
public void setFromXML(org.w3c.dom.Element node)
- Specified by:
setFromXML
in interface ElementModel
toXML
public org.w3c.dom.Element toXML()
- Specified by:
toXML
in interface ElementModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface CompoundElementModel
- Specified by:
clone
in interface ElementModel
- Overrides:
clone
in class java.lang.Object
addElement
public void addElement(PlottingElement em,
boolean required)
addParam
public void addParam(Param param,
int elementIndex,
boolean show)
addAes
public void addAes(Aes aes,
java.util.Vector layGen,
int elementIndex,
java.lang.String title,
boolean show)
updateElementModels
public void updateElementModels()
makeTemplate
public static Template makeTemplate(PlotBuilderModel pbm)
getModels
protected ElementModel[] getModels()
saveToFile
public void saveToFile(java.io.File f)
setFromFile
public void setFromFile(java.io.File f)
setData
public void setData(java.lang.String data)
getData
public java.lang.String getData()
- Specified by:
getData
in interface ElementModel