API / geotoolkit / plot / ITool / ITool
Define an interface that implement plot tool
Interface
Constructors
- [new ITool()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.plot.itool.itool.md#new itool())
Methods
▸ Abstract getName(): string
return tool name if any
string
name of the tool
▸ Abstract getParentTool(): ICompositeTool
returns parent tool
parent tool
▸ Abstract isEnabled(): boolean
returns enable state
boolean
state
▸ Abstract setEnabled(enabled): ITool
set enable state
| Name | Type | Description |
|---|---|---|
enabled | boolean | sets the enabled state |
this