\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

A PHP class representing the menuButton setting of DiagramShapeEditableToolMenuButtons.

Methods

attributes

Specifies the HTML attributes of a menu button.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value ``

enable

Specifies whether the menu button is initially enabled or disabled.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value boolean

Example

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

icon

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

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

id

Specifies the ID of the menu buttons.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

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

imageUrl

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

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

spriteCssClass

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

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

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

text

Specifies the text of the menu buttons.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

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

url

Specifies the url of the menu button to navigate to.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton

Parameters

$value string

Example

<?php
$menuButton = new \Kendo\Dataviz\UI\DiagramShapeEditableToolMenuButton();
$menuButton->url('value');
?>