Packagecom.yworks.canvas.input
Classpublic final class InputMutex
InheritanceInputMutex Inheritance Object

An input mutex that can be obtained from ConcurrencyControllers.

If an input mode owns the mutex, all other input modes registered with the controller will be disabled.

See also

ConcurrencyController
IConcurrentInputMode


Public Methods
 MethodDefined By
  
Creates a new instance.
InputMutex
  
release():void
Releases this mutex.
InputMutex
Constructor Detail
InputMutex()Constructor
public function InputMutex(owner:ConcurrencyController, inputMode:IConcurrentInputMode)

Creates a new instance.

Parameters
owner:ConcurrencyController — The ConcurrencyController as owner of this mutex.
 
inputMode:IConcurrentInputMode — The IConcurrentInputMode as owner of this mutex.
Method Detail
release()method
public function release():void

Releases this mutex.