Last updated

API / geotoolkit / contour / events / Event / Event

Class: Event

events.Event.Event

The base class for all contour events. Constructs new event object, based on specified values

Deprecated

since 4.0, use common event flow instead

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new Event(source, param, id)

new Event(source, param, id)

Parameters

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

getClassName

getClassName(): string

Returns

string


getID

getID(): string

Retrieves the ID of this event.

Returns

string

id The integer value - ID of event


getParameter

getParameter(): any

Gets the parameter object associated with this event.

Returns

any

parameter The parameter.


getSource

getSource(): Shape

Obtains the source object of this event.

Returns

Shape

source The event source.


getClassName

Static getClassName(): string

Returns

string