Examples of mouseMoved()


Examples of java.awt.event.MouseMotionListener.mouseMoved()

            while (iter.hasNext()) {
                MouseMotionListener listener = iter.next();

                switch (e.getID()) {
                    case MouseEvent.MOUSE_MOVED:
                        listener.mouseMoved(e);
                        break;
                    case MouseEvent.MOUSE_DRAGGED:
                        listener.mouseDragged(e);
                        break;
                    default:
View Full Code Here

Examples of javax.swing.ToolTipManager.mouseMoved()

                layer.fireRequestToolTip(lastToolTip);
                // forward the event to the tool tip manager so it will popup
                // the tool tip right away, otherwise an additional event is
                // required to trigger it
                ToolTipManager toolTipManager = ToolTipManager.sharedInstance();
                toolTipManager.mouseMoved(me);
            } else {
                layer.fireHideToolTip();
            }
        }
    }
View Full Code Here

Examples of javax.swing.ToolTipManager.mouseMoved()

                float valueUnderMouse = getSliderValueAt(qualitySlider, ev.getX(), preferences);
                if (qualitySlider.getValue() == Math.round(valueUnderMouse)) {
                  ToolTipManager toolTipManager = ToolTipManager.sharedInstance();
                  int initialDelay = toolTipManager.getInitialDelay();
                  toolTipManager.setInitialDelay(Math.min(initialDelay, 150));
                  toolTipManager.mouseMoved(ev);
                  toolTipManager.setInitialDelay(initialDelay);
                }
              }
            });
        }
View Full Code Here

Examples of javax.swing.ToolTipManager.mouseMoved()

                float valueUnderMouse = getSliderValueAt(qualitySlider, ev.getX(), preferences);
                if (qualitySlider.getValue() == Math.round(valueUnderMouse)) {
                  ToolTipManager toolTipManager = ToolTipManager.sharedInstance();
                  int initialDelay = toolTipManager.getInitialDelay();
                  toolTipManager.setInitialDelay(Math.min(initialDelay, 150));
                  toolTipManager.mouseMoved(ev);
                  toolTipManager.setInitialDelay(initialDelay);
                }
              }
            });
        }
View Full Code Here

Examples of javax.swing.ToolTipManager.mouseMoved()

  {
    // HACKHACK: trick the tooltip manager into showing the tooltip right now
    ToolTipManager manager = ToolTipManager.sharedInstance();
    int oldDelay = manager.getInitialDelay();
    manager.setInitialDelay( 0 );
    manager.mouseMoved( new MouseEvent(
      component,
      MouseEvent.MOUSE_MOVED,
      System.currentTimeMillis(),
      0, 0, 0, 0, false
    ) );
View Full Code Here

Examples of org.apache.batik.gvt.event.AbstractEventDispatcher.mouseMoved()

        }

        public void mouseMoved(MouseEvent e) {
            AbstractEventDispatcher dispatcher =
                (AbstractEventDispatcher)userAgent.getEventDispatcher();
            dispatcher.mouseMoved(e);
        }

        public void mouseExited(MouseEvent e) {
            mouseExited = true;
            markerTop = null;
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.mouseMoved()

    @Override
    public void mouseMoved(final Location location) {
        final View subview = subviewFor(location);
        if (subview != null) {
            location.subtract(subview.getLocation());
            subview.mouseMoved(location);
        }
    }

    @Override
    public void mouseUp(final Click click) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.mouseMoved()

    @Override
    public void mouseMoved(final Location location) {
        final View subview = subviewFor(location);
        if (subview != null) {
            location.subtract(subview.getLocation());
            subview.mouseMoved(location);
        }
    }

    @Override
    public void mouseUp(final Click click) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.mouseMoved()

    @Override
    public void mouseMoved(final Location location) {
        final View subview = subviewFor(location);
        if (subview != null) {
            location.subtract(subview.getLocation());
            subview.mouseMoved(location);
        }
    }

    @Override
    public void mouseUp(final Click click) {
View Full Code Here

Examples of prefuse.controls.Control.mouseMoved()

            Object[] lstnrs = m_controls.getArray();
            for (int i = 0; i < lstnrs.length; ++i) {
                Control ctrl = (Control) lstnrs[i];
                if (ctrl.isEnabled())
                    try {
                        ctrl.mouseMoved(e);
                    } catch ( Exception ex ) {
                        s_logger.warning(
                            "Exception thrown by Control: " + ex + "\n" +
                            StringLib.getStackTrace(ex));
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.