Package | twaver.network.interaction |
Class | public class EditInteractionHandler |
Inheritance | EditInteractionHandler ![]() ![]() |
Here is an example how to install interaction handlers on network canvas
network.interactionHandlers = new Collection([ new SelectInteractionHandler(network), new EditInteractionHandler(network), new MoveInteractionHandler(network), new DefaultInteractionHandler(network), new MapFilterInteractionHandler(network), ]);
See also
Property | Defined By | ||
---|---|---|---|
lazyMode : Boolean
Get the value whether use lazy-move mode for
moving elements on network canvas. | EditInteractionHandler |
Method | Defined By | ||
---|---|---|---|
EditInteractionHandler(network:Network, lazyMode:Boolean = false)
Create edit interaction handler for specified network. | EditInteractionHandler | ||
installListeners():void [override]
Install listeners on this interaction. | EditInteractionHandler | ||
uninstallListeners():void [override]
Uninstall listeners on this interaction. | EditInteractionHandler |
lazyMode | property |
lazyMode:Boolean
Get the value whether use lazy-move mode for moving elements on network canvas.
public function get lazyMode():Boolean
public function set lazyMode(value:Boolean):void
EditInteractionHandler | () | Constructor |
public function EditInteractionHandler(network:Network, lazyMode:Boolean = false)
Create edit interaction handler for specified network.
Parametersnetwork:Network — the network this handler will work with.
| |
lazyMode:Boolean (default = false ) — whether use lazy-move mode for moving
elements on network canvas. Default value is false.
|
installListeners | () | method |
override public function installListeners():void
Install listeners on this interaction.
uninstallListeners | () | method |
override public function uninstallListeners():void
Uninstall listeners on this interaction.