\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

A PHP class representing the button setting of DiagramShapeEditableToolButtons.

Methods

attributes

Specifies the HTML attributes of a ButtonGroup's button.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value ``

click

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value \Kendo\JavaScriptFunction

Example

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

enable

Specifies whether the button is initially enabled or disabled.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value boolean

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value string

Example

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

id

Specifies the ID of the button.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value string

Example

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

imageUrl

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value boolean

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value string

Example

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

text

Specifies the text of the menu button.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value string

Example

<?php
$button = new \Kendo\Dataviz\UI\DiagramShapeEditableToolButton();
$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\DiagramShapeEditableToolButton

Parameters

$value boolean

Example

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

toggle

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value \Kendo\JavaScriptFunction

Example

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

url

Specifies the url of the button to navigate to.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolButton

Parameters

$value string

Example

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