\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable

A PHP class representing the editable setting of DiagramConnectionDefaults.

Methods

drag

Specifies if the connections can be dragged.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable();
$editable->drag(true);
?>

remove

Specifies if the connections can be removed.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable();
$editable->remove(true);
?>

addTool

Adds one or more DiagramConnectionDefaultsEditableTool to the DiagramConnectionDefaultsEditable.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable

Parameters

$value[, $value2, ...] \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableTool |array

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableTool

<?php
$editable = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable();
$tool = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableTool();
$enable = true;
$tool->enable($enable);
$editable->addTool($tool);
?>

Example - using array

<?php
$editable = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable();
$enable = true;
$editable->addTool(array('enable' => $enable));
?>

Example - adding more than one DiagramConnectionDefaultsEditableTool

<?php
$editable = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditable();
$first  = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableTool();
$second = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEditableTool();
$editable->addTool($first, $second);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy