Last updated

API / geotoolkit / contour / events / VisualEvent / VisualEvent

Class: VisualEvent

events.VisualEvent.VisualEvent

Constructs new visual event object, based on specified values

Deprecated

since 4.0, use common event flow instead

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new VisualEvent(source, param, id)

new VisualEvent(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(): Shape

Obtains the source object of this event.

Returns

Shape

source The event source.

Inherited from

Event.getSource


getClassName

Static getClassName(): string

Returns

string

Inherited from

Event.getClassName