Skip to content

API / geotoolkit / contour / events / LineVisualEvent / LineVisualEvent

Class: LineVisualEvent

events.LineVisualEvent.LineVisualEvent

Constructs new visual event object, based on specified values

Deprecated

since 4.0, use common event flow instead

Hierarchy

Table of contents

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

Contents

Constructors

new LineVisualEvent(source, param, id)

• new LineVisualEvent(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

VisualEvent.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

VisualEvent.getClassName


getID

▸ getID(): string

Retrieves the ID of this event.

Returns

string

id The integer value - ID of event

Inherited from

VisualEvent.getID


getParameter

▸ getParameter(): any

Gets the parameter object associated with this event.

Returns

any

parameter The parameter.

Inherited from

VisualEvent.getParameter


getSource

▸ getSource(): Shape

Obtains the source object of this event.

Returns

Shape

source The event source.

Inherited from

VisualEvent.getSource


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

VisualEvent.getClassName