Packagetwaver.network.interaction
Classpublic class SelectInteractionHandler
InheritanceSelectInteractionHandler Inheritance BasicInteractionHandler Inheritance Object

This interaction supports selecting elements on network canvas by mouse and keyboard. Install this handler on network to get the ability to select elements freely by mouse and keyboard on canvas.

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),
	 ]);
	 



Protected Properties
 PropertyDefined By
 Inheritednetwork : Network
[read-only] Get network component of this interaction.
BasicInteractionHandler
Public Methods
 MethodDefined By
  
Constructor of this handler.
SelectInteractionHandler
  
[override] Install listeners on this interaction.
SelectInteractionHandler
  
[override] Uninstall listeners on this interaction.
SelectInteractionHandler
Protected Methods
 MethodDefined By
 Inherited
dispatchEvent(kind:String, e:MouseEvent, element:IElement = null, resizeDirection:String = null, pointIndex:int = -1):void
Dispatch event to listeners.
BasicInteractionHandler
Constructor Detail
SelectInteractionHandler()Constructor
public function SelectInteractionHandler(network:Network)

Constructor of this handler.

Parameters
network:Network — the network this handler works with
Method Detail
installListeners()method
override public function installListeners():void

Install listeners on this interaction.

uninstallListeners()method 
override public function uninstallListeners():void

Uninstall listeners on this interaction.