Changeset 382 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2007-10-13T23:54:18+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapMover.java
r298 r382 93 93 * If the right (and only the right) mouse button is pressed, move the map 94 94 */ 95 public void mouseDragged(MouseEvent e) {95 @Override public void mouseDragged(MouseEvent e) { 96 96 int offMask = MouseEvent.BUTTON1_DOWN_MASK | MouseEvent.BUTTON2_DOWN_MASK; 97 97 if ((e.getModifiersEx() & (MouseEvent.BUTTON3_DOWN_MASK | offMask)) == MouseEvent.BUTTON3_DOWN_MASK) { … … 158 158 * @param e The wheel event. 159 159 */ 160 public void mouseWheelMoved(MouseWheelEvent e) {160 @Override public void mouseWheelMoved(MouseWheelEvent e) { 161 161 int w = nc.getWidth(); 162 162 int h = nc.getHeight(); … … 177 177 * Does nothing. Only to satisfy MouseMotionListener 178 178 */ 179 public void mouseMoved(MouseEvent e) {}179 @Override public void mouseMoved(MouseEvent e) {} 180 180 }
Note:
See TracChangeset
for help on using the changeset viewer.