Lines Matching refs:axisObject
370 for axisObject in self.documentObject.axes:
371 self._addAxis(axisObject)
455 def _addAxis(self, axisObject): argument
456 self._axes.append(axisObject)
458 axisElement.attrib['tag'] = axisObject.tag
459 axisElement.attrib['name'] = axisObject.name
460 axisElement.attrib['minimum'] = self.intOrFloat(axisObject.minimum)
461 axisElement.attrib['maximum'] = self.intOrFloat(axisObject.maximum)
462 axisElement.attrib['default'] = self.intOrFloat(axisObject.default)
463 if axisObject.hidden:
465 for languageCode, labelName in sorted(axisObject.labelNames.items()):
470 if axisObject.map:
471 for inputValue, outputValue in axisObject.map:
738 axisObject = self.axisDescriptorClass()
739 axisObject.name = axisElement.attrib.get("name")
740 axisObject.minimum = float(axisElement.attrib.get("minimum"))
741 axisObject.maximum = float(axisElement.attrib.get("maximum"))
743 axisObject.hidden = True
744 axisObject.default = float(axisElement.attrib.get("default"))
745 axisObject.tag = axisElement.attrib.get("tag")
749 axisObject.map.append((a, b))
755 axisObject.labelNames[lang] = tounicode(labelNameElement.text)
756 self.documentObject.axes.append(axisObject)
757 self.axisDefaults[axisObject.name] = axisObject.default