GEN-LAST:event_btLaunchMouseEntered
358126
private void btLaunchMouseExited(java.awt.event.MouseEvent evt)//GEN-FIRST:event_btLaunchMouseExited
    {//GEN-HEADEREND:event_btLaunchMouseExited

      this.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

    }
1359032
private void formMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseClicked
        if(highlighted_cluster!=null){
            highlighted_cluster.highlight(false);
            highlighted_cluster=null;
        }
    }
1166071
function(e) {
      var redirectedEvent = document.createEvent('MouseEvents');
      redirectedEvent.initMouseEvent(e.type, e.bubbles, e.cancelable, window,
          e.detail, e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey,
          e.altKey, e.shiftKey, e.metaKey, e.button, e.relatedTarget);
      this.dialog_.dispatchEvent(redirectedEvent);
      e.stopPropagation();
    }
974466
@Override
    public void onBrowserEvent(Event event) {

        super.onBrowserEvent(event);

        switch (DOM.eventGetType(event)) {
            case Event.ONMOUSEUP:
                Event.releaseCapture(m_slider.getElement());
                m_capturedMouse = false;
                break;
            case Event.ONMOUSEDOWN:
                Event.setCapture(m_slider.getElement());
                m_capturedMouse = true;
                //$FALL-THROUGH$
            case Event.ONMOUSEMOVE:
                if (m_capturedMouse) {
                    event.preventDefault();
                    float x = ((event.getClientX() - (m_colorUnderlay.getAbsoluteLeft())) + Window.getScrollLeft());
                    float y = ((event.getClientY() - (m_colorUnderlay.getAbsoluteTop())) + Window.getScrollTop());

                    if (m_parent != null) {
                        m_parent.onMapSelected(x, y);
                    }

                    setSliderPosition(x, y);
                }
                //$FALL-THROUGH$
            default:

        }
    }
363087
function isLeftMouseReleased(event) {
    if ('buttons' in event && isNotIEorIsIE10plus) {
      // http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-buttons
      // Firefox 15+
      // Internet Explorer 10+
      return !(event.buttons | 1);
    }
    if (isChrome15OrOpera15plus || isSafari6plus) {
      // Chrome 14+
      // Opera 15+
      // Safari 6.0+
      return event.which === 0;
    }
  }
741907
function(_event){
                if (_event.button === 0) {
                    _v._$addEvent(this,'mousemove',_onMouseMove);
                    setTimeout(_dispatchIfChanged.bind(null, this), 0);
                }
            }
860964
function handleMousedown(event) {

  // get currently open dialogue
  var dialogue = getDialogueCurrent();

  if (dialogue.options.hardClose) {
    return;
  }

  var result = helper.isInside(event.target, dialogue.dialogue);
  if (!result) {
    closeInstance(dialogue);
  }
}
1347001
@Override
	public void fireEvent(String event) throws WidgetException {
		try {
			String javaScript = null;
			if (event.startsWith("mouse")) {
				javaScript = "if(document.createEvent){var evObj = document.createEvent('MouseEvents');evObj.initEvent('" + event
						+ "', true, false); arguments[0].dispatchEvent(evObj);} else if(document.createEventObject) { arguments[0].fireEvent('on" + event + "');}";
			} else {
				javaScript = "if(document.createEvent){var evObj = document.createEvent('HTMLEvents');evObj.initEvent('" + event
						+ "', true, false); arguments[0].dispatchEvent(evObj);} else if(document.createEventObject) { arguments[0].fireEvent('on" + event + "');}";
			}
			eval(javaScript);
		} catch (Exception e) {
			throw new WidgetException("Error while trying to fire event", getByLocator(), e);
		}
	}
578729
private void labelBrowseCurrentLinkMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_labelBrowseCurrentLinkMouseClicked
    if (evt.getClickCount() > 1) {
      final File file = new File(this.textFieldFilePath.getText().trim());
      NbUtils.openInSystemViewer(null, file);
    }
  }
83357
private void colorChooserCollapsatorBorderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_colorChooserCollapsatorBorderActionPerformed
    if (changeNotificationAllowed && this.colorChooserCollapsatorBorder.isLastOkPressed()) {
      this.controller.changed();
    }
  }
460225
private void jLabelLogoMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabelLogoMouseClicked
        if ((evt.getModifiers() & InputEvent.BUTTON1_MASK) == InputEvent.BUTTON1_MASK) {
            JMeterPluginsUtils.openInBrowser(JMeterPluginsUtils.WIKI_BASE + "?utm_source=jmeter&utm_medium=logolink&utm_campaign=" + gui.getWikiPage());
        }
    }
18225
private void colorChooser1stBackgroundActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_colorChooser1stBackgroundActionPerformed
    if (this.colorChooser1stBackground.isLastOkPressed() && changeNotificationAllowed) {
      this.controller.changed();
    }
  }
1260560
function getMouseEventInfo(event, divElt) {
  const clientRect = divElt.getBoundingClientRect();
  return {
    relX: event.clientX - clientRect.left,
    relY: event.clientY - clientRect.top,
    eltBounds: clientRect,
  };
}
492714
private ListenerEvent getEvent(int eventBit, MouseEvent<?> event) {
		return new ListenerEvent(eventBit, getScreenPosition(event), getClientPosition(event), getTarget(event),
				getTransformer(), event.isAltKeyDown(), event.isControlKeyDown(), event.isShiftKeyDown(),
				event.getNativeButton());
	}
77045
@Override
    public void userEventTriggered(final ChannelHandlerContext ctx, final Object evt) {
        if (evt instanceof IdleStateEvent) {
            IdleStateEvent e = (IdleStateEvent) evt;
            if (e.state() == IdleState.READER_IDLE) {
                ctx.close();
                LOG.warn(jnrpeContext, "Read Timeout");
                //jnrpeContext.getEventBus().post(new LogEvent(this, LogEventType.INFO, "Read Timeout"));
                //EventsUtil.sendEvent(this.jnrpeContext, this, LogEvent.INFO, "Read Timeout");
            } else if (e.state() == IdleState.WRITER_IDLE) {
                LOG.warn(jnrpeContext, "Write Timeout");
                //jnrpeContext.getEventBus().post(new LogEvent(this, LogEventType.INFO, "Write Timeout"));
                //EventsUtil.sendEvent(jnrpeContext, this, LogEvent.INFO, "Write Timeout");
                ctx.close();
            }
        }
    }
114024
private void startButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_startButtonActionPerformed
		_worker = EvolvingImagesWorker.of(getEngineParam(), getImage());
		_worker.start(this::onNewResult);

		// Enable/Disable UI controls.
		startButton.setEnabled(false);
		stopButton.setEnabled(true);
		pauseButton.setEnabled(true);
		openButton.setEnabled(false);
		saveButton.setEnabled(true);
		engineParamPanel.setEnabled(false);
	}
475123
@Override
    public final void onBrowserEvent(final Event event) {

        super.onBrowserEvent(event);
        switch (DOM.eventGetType(event)) {
            // Unhighlight and cancel keyboard events
            case Event.ONBLUR:
                m_keyTimer.cancel();
                if (m_slidingMouse) {
                    stopMouseSliding(event);

                } else if (m_slidingKeyboard) {
                    m_slidingKeyboard = false;

                }

                break;

            // Mousewheel events
            case Event.ONMOUSEWHEEL:
                int velocityY = event.getMouseWheelVelocityY() * m_stepSize;
                event.preventDefault();
                CmsDebugLog.getInstance().printLine("Whell velocity: " + velocityY);
                if (velocityY > 0) {
                    shiftDown(velocityY);
                } else {
                    shiftUp(-velocityY);
                }
                break;

            // Shift left or right on key press
            case Event.ONKEYDOWN:
                if (!m_slidingKeyboard) {
                    int multiplier = 1;
                    if (event.getCtrlKey() || event.getMetaKey()) {
                        multiplier = m_stepSize;
                    }

                    switch (event.getKeyCode()) {
                        case KeyCodes.KEY_HOME:
                            event.preventDefault();
                            setValue(Integer.valueOf(0));
                            break;
                        case KeyCodes.KEY_END:
                            event.preventDefault();
                            setValue(Integer.valueOf(getMaximumVerticalScrollPosition()));
                            break;
                        case KeyCodes.KEY_PAGEUP:
                            event.preventDefault();
                            m_slidingKeyboard = true;
                            shiftUp(m_pageSize);
                            m_keyTimer.schedule(INITIALDELAY, true, m_pageSize);
                            break;
                        case KeyCodes.KEY_PAGEDOWN:
                            event.preventDefault();
                            m_slidingKeyboard = true;

                            shiftDown(m_pageSize);
                            m_keyTimer.schedule(INITIALDELAY, false, m_pageSize);
                            break;
                        case KeyCodes.KEY_UP:
                            event.preventDefault();
                            m_slidingKeyboard = true;

                            shiftUp(multiplier);
                            m_keyTimer.schedule(INITIALDELAY, true, multiplier);
                            break;
                        case KeyCodes.KEY_DOWN:
                            event.preventDefault();
                            m_slidingKeyboard = true;

                            shiftDown(multiplier);
                            m_keyTimer.schedule(INITIALDELAY, false, multiplier);
                            break;

                        default:
                    }
                }
                break;
            // Stop shifting on key up
            case Event.ONKEYUP:
                m_keyTimer.cancel();
                if (m_slidingKeyboard) {
                    m_slidingKeyboard = false;
                }
                break;

            // Mouse Events
            case Event.ONMOUSEDOWN:
                if (sliderClicked(event)) {
                    startMouseSliding(event);
                    event.preventDefault();
                }
                break;
            case Event.ONMOUSEUP:
                stopMouseSliding(event);
                break;
            case Event.ONMOUSEMOVE:
                slideKnob(event);
                break;
            default:
        }

    }