Skip to content

API / geotoolkit3d / Event / Event

Class: Event<T&gt;

geotoolkit3d.Event.Event

An event object used to propagate notification details when something occurs in the 3D scenegraph.<br> <br> One could listen to events occurring on any node of the plot by adding a listener/callback on the geotoolkit3d.Plot.<br> Note that you can also send custom events from your nodes to implement your application's logic.<br> See Type for built-in events.<br>

Type parameters

NameType
Tany

Table of contents

Constructors
  • [new Event<T&gt;(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.event.event.md#new event<t>(options))
Methods

Contents

Constructors

new Event&lt;T&amp;gt;(options)

• new Event<T&gt;(options)

Type parameters

NameType
Tany

Parameters

Name Type
optionsOptions<T&gt;
Methods

dispose

▸ dispose(): null

disposes this event

Returns

null


getArgs

▸ getArgs(): T

Returns event's arguments

Returns

T

The events arguments


getClassName

▸ getClassName(): string

Returns

string


getSource

▸ getSource(): Source

Returns event's source

Returns

Source

The event source


getType

▸ getType(): string

Returns event's type

Returns

string

The event type


getClassName

▸ Static getClassName(): string

Returns

string