RequestOutputPlotPanelBoundsNodeClass.php 1.33 KB
<?php

define ("REQUESTOUTPUTPLOTPANELBOUNDS_NAME", "bounds");
define ("REQUESTOUTPUTPLOTPANELBOUNDS_X", "x");
define ("REQUESTOUTPUTPLOTPANELBOUNDS_Y", "y");
define ("REQUESTOUTPUTPLOTPANELBOUNDS_WIDTH", "width");
define ("REQUESTOUTPUTPLOTPANELBOUNDS_HEIGHT", "height");

/**
 * @class RequestOutputPlotPanelBoundsNodeClass
 * @brief Definition of panel bounds for a plot request
 * @details
*/
class RequestOutputPlotPanelBoundsNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTPANELBOUNDS_NAME);
	}

	public function setX($x)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_X, $x);
	}
	
	public function getX()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_X);
	}
	
	public function setY($y)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_Y, $y);
	}
	
	public function getY()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_Y);
	}
	
	public function setWidth($width)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_WIDTH, $width);
	}
	
	public function getWidth()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_WIDTH);
	}
	
	public function setHeight($height)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_HEIGHT, $height);
	}
	
	public function getHeight()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTPANELBOUNDS_HEIGHT);
	}
}

?>