- Timestamp:
- 2010-03-10T16:26:43+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java
r3104 r3105 220 220 } 221 221 222 @Override223 222 public Bounds getBoundingBox() { 224 223 return bbox; … … 231 230 * @param bbox the bounding box. null to reset the bounding box 232 231 */ 233 @Override234 232 public void setBoundingBox(Bounds bbox) { 235 233 if (bbox == null) { -
trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java
r3094 r3105 126 126 } 127 127 128 @Override129 128 public void mouseDragged(MouseEvent e) { 130 129 if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == MouseEvent.BUTTON1_DOWN_MASK) { … … 169 168 } 170 169 171 @Override172 170 public void mouseMoved(MouseEvent e) { 173 171 } -
trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java
r3094 r3105 131 131 * 132 132 */ 133 @Override134 133 public Bounds getBoundingBox() { 135 134 return bbox; … … 141 140 * @param bbox the bounding box. null, if this widget isn't initialized with a bounding box 142 141 */ 143 @Override144 142 public void setBoundingBox(Bounds bbox) { 145 143 pnlTileGrid.initFromBoundingBox(bbox); … … 195 193 */ 196 194 class TileBoundsChangeListener implements PropertyChangeListener { 197 @Override198 195 public void propertyChange(PropertyChangeEvent evt) { 199 196 if (!evt.getPropertyName().equals(TileGridInputPanel.TILE_BOUNDS_PROP)) return; … … 371 368 } 372 369 373 @Override374 370 public void propertyChange(PropertyChangeEvent evt) { 375 371 if (evt.getPropertyName().equals(TileAddressInputPanel.TILE_BOUNDS_PROP)) { … … 386 382 387 383 class ZomeLevelChangeHandler implements ChangeListener { 388 @Override389 384 public void stateChanged(ChangeEvent e) { 390 385 int zoomLevel = (Integer)spZoomLevel.getValue(); … … 412 407 } 413 408 414 @Override415 409 public void focusGained(FocusEvent e) {/* irrelevant */} 416 410 417 @Override418 411 public void focusLost(FocusEvent e) { 419 412 buildTileBounds(); 420 413 } 421 414 422 @Override423 415 public void actionPerformed(ActionEvent e) { 424 416 buildTileBounds(); 425 417 } 426 418 427 @Override428 419 public void stateChanged(ChangeEvent e) { 429 420 buildTileBounds(); … … 512 503 } 513 504 514 @Override515 505 public void actionPerformed(ActionEvent e) { 516 506 TileBounds tb = valTileAddress.getTileBounds(); -
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r3103 r3105 270 270 } 271 271 272 @Override273 272 public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer) { 274 273 updateEnabledState(); … … 288 287 } 289 288 290 @Override291 289 public void actionPerformed(ActionEvent e) { 292 290 Collection<OsmPrimitive> sel = model.getSelected(); … … 317 315 updateEnabledState(); 318 316 } 319 @Override 317 320 318 public void actionPerformed(ActionEvent e) { 321 319 new AutoScaleAction("selection").autoScale(); … … 443 441 } 444 442 445 @Override446 443 public Object getElementAt(int index) { 447 444 return selection.get(index); 448 445 } 449 446 450 @Override451 447 public int getSize() { 452 448 return selection.size(); … … 517 513 new Comparator<OsmPrimitive>() { 518 514 NameFormatter nf = DefaultNameFormatter.getInstance(); 519 @Override 515 520 516 public int compare(OsmPrimitive o1, OsmPrimitive o2) { 521 522 517 if (o1.getType() != o2.getType()) 523 518 return o1.getType().compareTo(o2.getType()); … … 624 619 } 625 620 626 @Override627 621 public void primtivesAdded(PrimitivesAddedEvent event) {/* ignored - handled by SelectionChangeListener */} 628 @Override629 622 public void primtivesRemoved(PrimitivesRemovedEvent event) {/* ignored - handled by SelectionChangeListener*/} 630 623 } -
trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java
r3094 r3105 43 43 } 44 44 45 @Override46 45 public void propertyChange(PropertyChangeEvent evt) { 47 46 if (evt.getPropertyName().equals(BBoxChooser.BBOX_PROP)) { -
trunk/src/org/openstreetmap/josm/gui/download/TileSelection.java
r3104 r3105 43 43 } 44 44 45 @Override46 45 public void propertyChange(PropertyChangeEvent evt) { 47 46 if (evt.getPropertyName().equals(BBoxChooser.BBOX_PROP)) {
Note:
See TracChangeset
for help on using the changeset viewer.