Changeset 12304 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java
- Timestamp:
- 2017-06-02T23:21:03+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java
r11893 r12304 23 23 24 24 /** 25 * 26 * 25 * A panel that allows the user to input the coordinates of a lat/lon box 27 26 */ 28 27 public class BoundingBoxSelectionPanel extends JPanel { … … 85 84 } 86 85 86 /** 87 * Sets the bounding box to the given area 88 * @param area The new input values 89 */ 87 90 public void setBoundingBox(Bounds area) { 88 91 updateBboxFields(area); 89 92 } 90 93 94 /** 95 * Get the bounding box the user selected 96 * @return The box or <code>null</code> if no valid data was input. 97 */ 91 98 public Bounds getBoundingBox() { 92 99 double minlon, minlat, maxlon, maxlat;
Note:
See TracChangeset
for help on using the changeset viewer.