I

IClickListener

A simple interface that can be used to react to clicks on regions of INodeStyles etc.
Inheritance Hierarchy

Remarks

GraphEditorInputMode will query the IModelItem's lookup method for this interface if it has detected clicks. If the item yields an instance of this interface and the click was inside the getHitTestable, then onClicked is invoked.

See Also

Developer's Guide

API

GraphEditorInputMode, CollapsibleNodeStyleDecorator

Members

No filters for this type

Methods

Gets an IHitTestable that can be used to check if onClicked should be invoked.
abstract

Return Value

IHitTestable
A hit testable that can determine whether onClicked should be invoked by a given click.

See Also

Developer's Guide
Called by the framework to indicate that the IModelItem has been clicked by the user at the specified location.
This method is called by click for the IModelItems that yielded an instance of this interface.
abstract

Parameters

context: IInputModeContext
The context to use for the click operation.
location: Point
The location of the click

See Also

Developer's Guide

Static Methods

static

Parameters

Return Value

IClickListener