Skip to content

API / geotoolkit / contour / events / ContourEvent / ContourEvent

Class: ContourEvent

events.ContourEvent.ContourEvent

Event is fired by an object to notify other objects about changes that might affect them E.g. changing a parameter or data, changes the final display Constructs new event object, based on specified values

Deprecated

since 4.0, use common event flow instead

Hierarchy

Table of contents

Constructors
  • [new ContourEvent(source, param, id)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.contour.events.contourevent.contourevent.md#new contourevent(source, param, id))
Methods

Contents

Constructors

new ContourEvent(source, param, id)

• new ContourEvent(source, param, id)

Parameters

Name Type Description
sourceShapeSource of event.
paramanyParameter of event (reference to shape, for example).
idstringInteger value - ID of event

Inherited from

Event.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

Event.getClassName


getID

▸ getID(): string

Retrieves the ID of this event.

Returns

string

id The integer value - ID of event

Inherited from

Event.getID


getParameter

▸ getParameter(): any

Gets the parameter object associated with this event.

Returns

any

parameter The parameter.

Inherited from

Event.getParameter


getSource

▸ getSource(): ContourShape

Obtains the source object of this event.

Returns

ContourShape

source The event source.

Overrides

Event.getSource


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

Event.getClassName