Last updated

API / geotoolkit3d / Event / Event

Class: Event<T>

geotoolkit3d.Event.Event

An event object used to propagate notification details when something occurs in the 3D scenegraph.

One could listen to events occurring on any node of the plot by adding a listener/callback on the geotoolkit3d.Plot.
Note that you can also send custom events from your nodes to implement your application's logic.
See Type for built-in events.

Type parameters

NameType
Tany

Table of contents

Constructors
Methods

Contents

Constructors

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

new Event<T>(options)

Type parameters

NameType
Tany

Parameters

Name Type Description
optionsOptions<T>The options
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