ThemesToolEvent
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
Overrides
Source
tools/themes/model/internal/event/ThemesToolEvent.ts:19
Methods
getChangedObject()
getChangedObject():
IMapTheme
Return the changed object.
Returns
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
Inherited from
Source
model/internal/event/generic/MapEvent.ts:32
getType()
getType():
string
It returns string which identifies the event.
Returns
string
Implementation of
Inherited from
Source
model/internal/event/generic/MapEvent.ts:25
TYPE()
static
TYPE():string
Type of the event.
Returns
string