RequestOutputPlotMarginsNodeClass.php 901 Bytes


<?php

define ("REQUESTOUTPUTPLOTMARGINS_NAME", "margin");
define ("REQUESTOUTPUTPLOTMARGINS_HORIZONTAL", "x");
define ("REQUESTOUTPUTPLOTMARGINS_VERTIVAL", "y");

/**
 * @class RequestOutputPlotMarginsNodeClass
 * @brief Definition of margins for a page of a plot request
 * @details
 */
class RequestOutputPlotMarginsNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTMARGINS_NAME);
	}
	
	public function setHorizontal($horizontal)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTMARGINS_HORIZONTAL, $horizontal);
	}
	
	public function getHorizontal()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTMARGINS_HORIZONTAL);
	}
	
	public function setVertical($vertical)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTMARGINS_VERTIVAL, $vertical);
	}
	
	public function getVertical()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTMARGINS_VERTIVAL);
	}
}

?>