\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

A PHP class representing the button setting of DiagramConnectionEditableToolButtons.

Methods

attributes

Specifies the HTML attributes of a ButtonGroup's button.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value ``

click

Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->click(new \Kendo\JavaScriptFunction('function() { }'));
?>

enable

Specifies whether the button is initially enabled or disabled.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value boolean

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->enable(true);
?>

group

Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->group('value');
?>

icon

Sets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->icon('value');
?>

id

Specifies the ID of the button.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->id('value');
?>

imageUrl

If set, the ToolBar will render an image with the specified URL in the button.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->imageUrl('value');
?>

selected

Specifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value boolean

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->selected(true);
?>

showIcon

Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->showIcon('value');
?>

showText

Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->showText('value');
?>

spriteCssClass

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->spriteCssClass('value');
?>

text

Specifies the text of the menu button.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->text('value');
?>

togglable

Specifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value boolean

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->togglable(true);
?>

toggle

Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->toggle(new \Kendo\JavaScriptFunction('function() { }'));
?>

url

Specifies the url of the button to navigate to.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramConnectionEditableToolButton();
$button->url('value');
?>
In this article
Not finding the help you need?