Skip to main content

ThemesToolEvent

geovisto-mapReadme | API


geovisto-map / ThemesToolEvent

Class: ThemesToolEvent

This class provides the theme change event.

Author

Jiri Hynek

Extends

Implements

Constructors

new ThemesToolEvent()

new ThemesToolEvent(themesTool, theme): ThemesToolEvent

It initializes event.

Parameters

themesTool: IThemesTool\<IThemesToolProps, IThemesToolDefaults, IThemesToolState\<IThemesToolProps, IThemesToolDefaults, IThemesToolConfig>, IThemesToolConfig, IMapToolInitProps\<IThemesToolConfig>>

theme: IMapTheme

Returns

ThemesToolEvent

Overrides

MapChangeEvent.constructor

Source

tools/themes/model/internal/event/ThemesToolEvent.ts:19

Methods

getChangedObject()

getChangedObject(): IMapTheme

Return the changed object.

Returns

IMapTheme

Implementation of

IThemesToolEvent.getChangedObject

Inherited from

MapChangeEvent.getChangedObject

Source

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


getSource()

getSource(): IThemesTool\<IThemesToolProps, IThemesToolDefaults, IThemesToolState\<IThemesToolProps, IThemesToolDefaults, IThemesToolConfig>, IThemesToolConfig, IMapToolInitProps\<IThemesToolConfig>>

It return source map object of the event.

Returns

IThemesTool\<IThemesToolProps, IThemesToolDefaults, IThemesToolState\<IThemesToolProps, IThemesToolDefaults, IThemesToolConfig>, IThemesToolConfig, IMapToolInitProps\<IThemesToolConfig>>

Implementation of

IThemesToolEvent.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

IThemesToolEvent.getType

Inherited from

MapChangeEvent.getType

Source

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


TYPE()

static TYPE(): string

Type of the event.

Returns

string

Source

tools/themes/model/internal/event/ThemesToolEvent.ts:26