示例#1
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendChildObject(element,self.start.value,'start value')
     self.appendChildObject(element,self.stop.value,'stop value')
     self.appendChildObject(element,self.numberOfPoints.value,'number of points')
     self.appendChildObject(element,self.logarithmic.value,'logarithmic')
     return element
示例#2
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendChildObject(element,self.metadata,'metadata')
     self.appendChildObject(element,self.experiment,'experiment')
     self.appendChildObject(element,self.result,'result')
     return element
示例#3
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendTextNode(element,self.toArrayString(separator=',\n'))
     return element
示例#4
0
 def asDom(self, parent):
     element = Dommable.asDom(self, parent)
     self.appendTextNode(element, self.toArrayString(forDisplay=False))
     return element