API / geotoolkit / widgets / SelectionChangeEventArgs / SelectionChangeEventArgs
widgets.SelectionChangeEventArgs.SelectionChangeEventArgs
This class holds the details of a selection change event. You can access the id of the selected object using this object.
↳
SelectionChangeEventArgs
Constructors
• new SelectionChangeEventArgs(eventName, id?, type?)
| Name | Type | Description |
|---|---|---|
eventName | string | information about the events arguments |
Optional id | string | |
Optional type | string | selection type ('line', 'fill', 'axis' or 'legend') |
BaseEventArgs.constructor
Methods
▸ getEventName(): string
Returns event name
string
▸ getId(): string
return selected id
string
▸ getType(): string
Gets selection type
string
▸ isCanceled(): boolean
Returns whether event has been cancelled
boolean
▸ isPreventDefault(): boolean
Returns whether event has been prevented default
boolean
BaseEventArgs.isPreventDefault
▸ preventDefault(): SelectionChangeEventArgs
Prevents default
this
▸ stopPropagation(): SelectionChangeEventArgs
Stops propagation
this