Packagecom.yworks.canvas.input
Interfacepublic interface IInputModeContext extends ILookup
Implementors SimpleInputModeContext

The interface for the context object that is passed to IInputMode instances during IInputMode.install and IInputMode.uninstall and to IPositionHandler and IHandle to provide additional context for these implementations.

See also

com.yworks.canvas.input.IPositionHandler
com.yworks.canvas.input.IHandle
com.yworks.canvas.input.IInputMode


Public Properties
 PropertyDefined By
  canvasComponent : CanvasComponent
[read-only] Yields the CanvasComponent on which the mode currently acts.
IInputModeContext
  parentInputMode : IInputMode
[read-only] Yields the IInputMode which issued the context object.
IInputModeContext
Public Methods
 MethodDefined By
 Inherited
lookup(type:Class):Object
Returns an instance that implements the given type or null.
ILookup
Property Detail
canvasComponentproperty
canvasComponent:CanvasComponent  [read-only]

Yields the CanvasComponent on which the mode currently acts.

This can be null if the mode is used outside the context of a CanvasControl.


Implementation
    public function get canvasComponent():CanvasComponent
parentInputModeproperty 
parentInputMode:IInputMode  [read-only]

Yields the IInputMode which issued the context object.

This can be null if the mode is used outside the context of an IInputMode.


Implementation
    public function get parentInputMode():IInputMode