org.eclipse.draw2d.MouseMotionListener Java Examples
The following examples show how to use
org.eclipse.draw2d.MouseMotionListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FigureRenderer.java From neoscada with Eclipse Public License 1.0 | 5 votes |
@Override public void removeMouseMoveListener ( final ChartMouseMoveListener mouseMoveListener ) { final MouseMotionListener proxyListener = this.mouseMoveListenerMap.remove ( mouseMoveListener ); if ( proxyListener != null ) { this.chartFigure.removeMouseMotionListener ( proxyListener ); } }
Example #2
Source File: LinkFigure.java From nebula with Eclipse Public License 2.0 | 4 votes |
/** * @param mouseMotionListener */ public void addMouseMotionListener(MouseMotionListener mouseMotionListener) { leftLine.addMouseMotionListener(mouseMotionListener); rightLine.addMouseMotionListener(mouseMotionListener); }
Example #3
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void addAuxilliaryMotionListener(MouseMotionListener auxilliaryMotionListener) { if (this.auxilliaryMotionListeners == null) auxilliaryMotionListeners = new HashSet<MouseMotionListener>(); auxilliaryMotionListeners.add(auxilliaryMotionListener); }
Example #4
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void removeAuxilliaryMotionListener(MouseMotionListener auxilliaryMotionListener) { if (this.auxilliaryMotionListeners == null) return; auxilliaryMotionListeners.remove(auxilliaryMotionListener); }
Example #5
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void fireMouseMoved(MouseEvent me) { if (this.auxilliaryMotionListeners == null) return; for (MouseMotionListener l : auxilliaryMotionListeners) l.mouseMoved(me); }
Example #6
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void fireMouseHover(MouseEvent me) { if (this.auxilliaryMotionListeners == null) return; for (MouseMotionListener l : auxilliaryMotionListeners) l.mouseHover(me); }
Example #7
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void fireMouseEntered(MouseEvent me) { if (this.auxilliaryMotionListeners == null) return; for (MouseMotionListener l : auxilliaryMotionListeners) l.mouseEntered(me); }
Example #8
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void fireMouseExited(MouseEvent me) { if (this.auxilliaryMotionListeners == null) return; for (MouseMotionListener l : auxilliaryMotionListeners) l.mouseExited(me); }
Example #9
Source File: PlotArea.java From nebula with Eclipse Public License 2.0 | 4 votes |
public void fireMouseDragged(MouseEvent me) { if (this.auxilliaryMotionListeners == null) return; for (MouseMotionListener l : auxilliaryMotionListeners) l.mouseDragged(me); }