setAttribute(REQUESTOUTPUTPLOTLAYOUT_TYPE, $type); } public function getType() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_TYPE); } public function setPanelHeight($height) { $this->setAttribute(REQUESTOUTPUTPLOTLAYOUT_PANELHEIGHT, $height); } public function getPanelHeight() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_PANELHEIGHT); } public function setPanelSpacing($spacing) { $this->setAttribute(REQUESTOUTPUTPLOTLAYOUT_PANELSPACING, $spacing); } public function getPanelSpacing() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_PANELSPACING); } public function setFirstPanelHeightFactor($factor) { $this->setAttribute(REQUESTOUTPUTPLOTLAYOUT_FIRSTPANELHEIGHTFACTOR, $factor); } public function getFirstPanelHeightFactor() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_FIRSTPANELHEIGHTFACTOR); } public function setExpand($expand) { $this->setAttribute(REQUESTOUTPUTPLOTLAYOUT_EXPAND, $expand); } public function getExpand() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_EXPAND); } public function setOnlyLowerTimeAxesLegend($onlyLower) { $this->setAttribute(REQUESTOUTPUTPLOTLAYOUT_ONLYLOWERTIMEAXESLEGEND, $onlyLower); } public function getOnlyLowerTimeAxesLegend() { return $this->getAttribute(REQUESTOUTPUTPLOTLAYOUT_ONLYLOWERTIMEAXESLEGEND); } public function loadFromNode($xmlNode) { $this->setType($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_TYPE)); $this->setPanelHeight($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_PANELHEIGHT)); $this->setPanelSpacing($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_PANELSPACING)); $this->setFirstPanelHeightFactor($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_FIRSTPANELHEIGHTFACTOR)); $this->setExpand($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_EXPAND)); $this->setOnlyLowerTimeAxesLegend($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTLAYOUT_ONLYLOWERTIMEAXESLEGEND)); } } ?>