Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotAdditionalObjectsNodeClass.php 655 Bytes
ab13f26c   Benjamin Renard   Add text object p...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

define ("REQUESTOUTPUTPLOTADDITIONALOBJECTS_NAME", "additionalObjects");

/**
 * @class RequestOutputPlotAdditionalObjectsNodeClass
 * @brief Definition of additional objects for a plot
 * @details
 */
class RequestOutputPlotAdditionalObjectsNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTADDITIONALOBJECTS_NAME);
	}
	
	public function addTextObject()
	{
		$node = new RequestOutputPlotTextNodeClass();
		$this->addChild($node);
		return $node;
	}
d7f73bcb   Benjamin Renard   Integration for c...
23
24
25
26
27
28
29
	
	public function addCurveObject()
	{
		$node = new RequestOutputPlotCurveObjectNodeClass();
		$this->addChild($node);
		return $node;
	}
ab13f26c   Benjamin Renard   Add text object p...
30
31
32
}

?>