yfiles.client.tiles.EditLabelMode
Class EditLabelMode
This is an input mode for editing a node label.
- All Parent Classes:
- InputMode
|
Field Summary |
String |
nodeOrLabel
id of a node or a node label |
|
Method Summary |
|
activate()
activates this instance. |
|
deactivate()
deactivates this instance. |
nodeOrLabel
/*String*/ nodeOrLabel
- id of a node or a node label
EditLabelMode
EditLabelMode(/*GraphCanvas*/ canvas)
- This is an input mode for editing a node label.
-
- Parameters:
canvas -
activate
activate()
- activates this instance.
- If the attribute nodeOrLabel is not set to the id of a node or a node
label of the graph for this input mode, the instance deactivates itself immediately.
Otherwise it opens a dialog with the current label for the specified graph element. The label
can be edited. Finally, the changes can either be commited or canceled.
deactivate
deactivate()
- deactivates this instance.
- The dialog is closed, if it is open.
Copyright © 2006-2011 yWorks GmbH. All rights reserved.