ToolManager
ToolManager
Overview needed
Constructor
public ToolManager
new ToolManager(defaultTool, tools)
*Description needed*Parameters
defaultTool: DefaultTool
– Description neededtools: Tool[]
– Description needed
Properties
No publicly accessible properties on ToolManager
private defaultTool: DefaultTool
Description needed
Methods
public onEvent
onEvent(event, info) => false | true
Description needed
Parameters
event: MouseEvent | KeyboardEvent | ZoomEvent | CopyPasteEvent | OtherEvent
– Description neededinfo: CircuitInfo
– Description needed
Returns
-
false | true
– Description needed
public hasTool
hasTool(tool) => false | true
Description needed
Parameters
-
tool: Tool
– Description needed
Returns
-
false | true
– Description needed
public getCurrentTool
getCurrentTool() => DefaultTool | Tool
Description needed
Returns
-
DefaultTool | Tool
– Description needed
Static Methods
No static methods for ToolManager