API / geotoolkit / contour / events / ContourEvent / ContourEvent
events.ContourEvent.ContourEvent
Event is fired by an object to notify other objects about changes that might affect them E.g. changing a parameter or data, changes the final display Constructs new event object, based on specified values
Deprecated
since 4.0, use common event flow instead
↳
ContourEvent
Constructors
Constructors
• new ContourEvent(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(): ContourShape
Obtains the source object of this event.
source The event source.
▸ Static getClassName(): string
string