Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotMarginsNodeClass.php 901 Bytes
8c57155b   Benjamin Renard   Integration for t...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42


<?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);
	}
}

?>