Lines Matching refs:axisObject
430 for axisObject in self.documentObject.axes:
431 self._addAxis(axisObject)
519 def _addAxis(self, axisObject): argument
520 self._axes.append(axisObject)
522 axisElement.attrib['tag'] = axisObject.tag
523 axisElement.attrib['name'] = axisObject.name
524 axisElement.attrib['minimum'] = self.intOrFloat(axisObject.minimum)
525 axisElement.attrib['maximum'] = self.intOrFloat(axisObject.maximum)
526 axisElement.attrib['default'] = self.intOrFloat(axisObject.default)
527 if axisObject.hidden:
529 for languageCode, labelName in sorted(axisObject.labelNames.items()):
534 if axisObject.map:
535 for inputValue, outputValue in axisObject.map:
810 axisObject = self.axisDescriptorClass()
811 axisObject.name = axisElement.attrib.get("name")
812 axisObject.minimum = float(axisElement.attrib.get("minimum"))
813 axisObject.maximum = float(axisElement.attrib.get("maximum"))
815 axisObject.hidden = True
816 axisObject.default = float(axisElement.attrib.get("default"))
817 axisObject.tag = axisElement.attrib.get("tag")
821 axisObject.map.append((a, b))
827 axisObject.labelNames[lang] = tostr(labelNameElement.text)
828 self.documentObject.axes.append(axisObject)
829 self.axisDefaults[axisObject.name] = axisObject.default