Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotFillNodeClass.php 801 Bytes
bbe4d005   Benjamin Renard   Integration for f...
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
<?php

define ("REQUESTOUTPUTPLOTFILL_GREATERCOLOR", "colorGreater");
define ("REQUESTOUTPUTPLOTFILL_LESSCOLOR", "colorLess");

/**
 * @class RequestOutputPlotFillNodeClass
 * @brief Definition of fill for a plot
 * @details
 */
class RequestOutputPlotFillNodeClass extends NodeClass
{
	public function __construct($name)
	{
		parent::__construct($name);
	}
	
	public function setGreaterColor($color)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTFILL_GREATERCOLOR, $color);
	}
	
	public function getGreaterColor()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTFILL_GREATERCOLOR);
	}
	
	public function setLessColor($color)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTFILL_LESSCOLOR, $color);
	}
	
	public function getLessColor()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTFILL_LESSCOLOR);
	}
}

?>