org.rosuda.deducer.plots
Class Template

java.lang.Object
  extended by org.rosuda.deducer.plots.Template
All Implemented Interfaces:
CompoundElementModel, ElementModel

public class Template
extends java.lang.Object
implements CompoundElementModel


Nested Class Summary
 class Template.MaskingAes
           
 class Template.MaskingParam
           
 
Field Summary
protected  PlottingElement[] elements
           
protected  Template.MaskingAes[] mAess
           
protected  Template.MaskingParam[] mParams
           
 
Constructor Summary
Template()
           
 
Method Summary
 void addAes(Aes aes, java.util.Vector layGen, int elementIndex, java.lang.String title, boolean show)
           
 void addElement(PlottingElement em, boolean required)
           
 void addParam(Param param, int elementIndex, boolean show)
           
 java.lang.String checkValid()
           
 java.lang.Object clone()
           
 java.util.Vector getAess()
           
 java.lang.String getCall()
           
 java.lang.String getData()
           
 PlottingElement[] getElements()
           
 java.util.Vector getMAess()
           
protected  ElementModel[] getModels()
           
 java.util.Vector getParams()
           
 java.lang.String getType()
           
 ElementView getView()
           
static Template makeTemplate(PlotBuilderModel pbm)
           
 void saveToFile(java.io.File f)
           
 void setData(java.lang.String data)
           
 void setFromFile(java.io.File f)
           
 void setFromXML(org.w3c.dom.Element node)
           
 org.w3c.dom.Element toXML()
           
 void updateElementModels()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected PlottingElement[] elements

mAess

protected Template.MaskingAes[] mAess

mParams

protected Template.MaskingParam[] mParams
Constructor Detail

Template

public Template()
Method Detail

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