Class ClickSelectingTool
Extends Tool. The ClickSelectingTool selects and deselects Parts when there is a click. It does this by calling Tool.standardMouseSelect. It is also responsible for handling and dispatching click events on GraphObjects by calling Tool.standardMouseClick.
This tool is a standard mouse-up tool, the ToolManager.clickSelectingTool.
This tool does not utilize any Adornments or tool handles. This tool does not modify the model or conduct any transaction.
Constructor Summary Details
Returns | Name | Description |
---|---|---|
ClickSelectingTool()
|
You do not normally need to create an instance of this tool
because one already exists as the ToolManager.clickSelectingTool.
|
Method Summary Details
Returns | Name | Description |
---|---|---|
{boolean}
|
canStart()
|
This tool can run whenever a click occurs. More...
This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.
|
doMouseUp()
|
Upon a click, this calls Tool.standardMouseSelect to change the Diagram.selection collection,
then calls Tool.standardMouseClick to perform the normal click behaviors,
and then stops this tool.
|
- Methods borrowed from class Tool:
- cancelWaitAfter, doActivate, doCancel, doDeactivate, doKeyDown, doKeyUp, doMouseDown, doMouseMove, doMouseWheel, doStart, doStop, doWaitAfter, findToolHandleAt, isBeyondDragSize, standardMouseClick, standardMouseOver, standardMouseSelect, standardMouseWheel, standardWaitAfter, startTransaction, stopTool, stopTransaction, updateAdornments