API / geotoolkit / welllog / widgets / tools / RemarksHighlightEventArgs / RemarksHighlightEventArgs
tools.RemarksHighlightEventArgs.RemarksHighlightEventArgs
ProxyEventArgs
↳
RemarksHighlightEventArgs
Constructors
Methods
Constructors
• new RemarksHighlightEventArgs(eventArgs, text?)
| Name | Type | Description |
|---|---|---|
eventArgs | EventArgs | contains info about the event |
Optional text | string | text value of the comment section highlighted, null if no section found |
ProxyEventArgs.constructor
Methods
▸ getCSSPoint(): Point
Returns point in css coordinates
▸ getEventName(): string
Returns event name
string
▸ getEventTarget(): EventTarget | Node
Returns native event target
EventTarget | Node
▸ getNativeEventArgs(): Event
Returns original event args
Event
ProxyEventArgs.getNativeEventArgs
▸ getNode(): Node
Returns node on the plot
▸ getPlot(): Plot
Returns plot
plot
▸ getPlotPoint(): Point
Returns point in plot coordinate
▸ getTextValue(): string
Returns comment section text value, null if no section found
string
▸ inPlot(): boolean
Returns whether event position is inside of plot
boolean
▸ isCanceled(): boolean
Returns whether event has been cancelled
boolean
▸ isPreventDefault(): boolean
Returns whether event has been prevented default
boolean
ProxyEventArgs.isPreventDefault
▸ preventDefault(): RemarksHighlightEventArgs
Prevents default
this
▸ setEventTarget(target): RemarksHighlightEventArgs
Set event target
| Name | Type | Description |
|---|---|---|
target | EventTarget | Node | event target |
▸ stopPropagation(preventDefault?, stopPropagation?): RemarksHighlightEventArgs
Cancels event processing
| Name | Type | Description |
|---|---|---|
Optional preventDefault | boolean | prevent default system events |
Optional stopPropagation | boolean | stop propagation to next listener |
this