Skip to main content

ToolEnabledEvent

geovisto-mapReadme | API


geovisto-map / ToolEnabledEvent

Class: ToolEnabledEvent\<TSource>

This class provides the tool enabled event.

Author

Jiri Hynek

Extends

Type parameters

TSource extends IMapTool = IMapTool

Implements

Constructors

new ToolEnabledEvent()

new ToolEnabledEvent\<TSource>(source, enabled): ToolEnabledEvent\<TSource>

It initializes event.

Parameters

source: TSource

enabled: boolean

Returns

ToolEnabledEvent\<TSource>

Overrides

MapChangeEvent.constructor

Source

model/internal/event/tool/ToolEnabledEvent.ts:16

Methods

getChangedObject()

getChangedObject(): boolean

Return the changed object.

Returns

boolean

Implementation of

IToolEnabledEvent.getChangedObject

Inherited from

MapChangeEvent.getChangedObject

Source

model/internal/event/generic/MapChangeEvent.ts:26


getSource()

getSource(): TSource

It return source map object of the event.

Returns

TSource

Implementation of

IToolEnabledEvent.getSource

Inherited from

MapChangeEvent.getSource

Source

model/internal/event/generic/MapEvent.ts:32


getType()

getType(): string

It returns string which identifies the event.

Returns

string

Implementation of

IToolEnabledEvent.getType

Inherited from

MapChangeEvent.getType

Source

model/internal/event/generic/MapEvent.ts:25


TYPE()

static TYPE(): string

Type of the event.

Returns

string

Source

model/internal/event/tool/ToolEnabledEvent.ts:23