API / geotoolkit / plot / IToolContainer / IToolContainer
plot.IToolContainer.IToolContainer
Define an interface that implement plot tool container
Interface
↳
IToolContainer
Constructors
Methods
▸ Abstract add(tool): IToolContainer
Add tool
▸ Abstract dispose(): void
Dispose
void
▸ Abstract getToolByName(node): ITool
Returns tool by name
| Name | Type | Description |
|---|---|---|
node | string | node to check |
plot tool
▸ Abstract getToolByType(toolType): ITool
Returns the tool matching the given type. or null if nothing is matching the tool type
| Name | Type | Description |
|---|---|---|
toolType | ClassType<any> | toolType of the tool |
▸ Abstract listToolsNames(): string[]
List all the tools contained in this composite. Prepend their parent tools parent using a '.'.
string[]
▸ Abstract remove(tool): IToolContainer
Remove tool
| Name | Type | Description |
|---|---|---|
tool | ITool | tool to remove |