API / geotoolkit / contour / events / VisualEvent / VisualEvent
events.VisualEvent.VisualEvent
Constructs new visual event object, based on specified values
Deprecated
since 4.0, use common event flow instead
↳
VisualEvent
Constructors
Constructors
• new VisualEvent(source, param, id)
| Name | Type | Description |
|---|---|---|
source | Shape | Source of event. |
param | any | Parameter of event (reference to shape, for example). |
id | string | Integer value - ID of event |
Event.constructor
Methods
▸ getClassName(): string
string
▸ getID(): string
Retrieves the ID of this event.
string
id The integer value - ID of event
▸ getParameter(): any
Gets the parameter object associated with this event.
any
parameter The parameter.
▸ getSource(): Shape
Obtains the source object of this event.
source The event source.
▸ Static getClassName(): string
string