source: josm/trunk/src/org/openstreetmap/josm/gui/bbox/BBoxChooser.java@ 4932

Last change on this file since 4932 was 3720, checked in by bastiK, 13 years ago

added missing svn:eol-style

  • Property svn:eol-style set to native
File size: 975 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.bbox;
3
4import org.openstreetmap.josm.data.Bounds;
5
6/**
7 * A BBoxChooser is a component which provides a UI for choosing a
8 * bounding box.
9 *
10 */
11public interface BBoxChooser {
12
13 /**
14 * A BBoxChooser emits {@see ProperyChangeEvent}s for this property
15 * if the current bounding box changes.
16 */
17 String BBOX_PROP = BBoxChooser.class.getName() + ".bbox";
18
19 /**
20 * Sets the current bounding box in this BboxChooser. If {@code bbox}
21 * is null the current bbox in this BBoxChooser is removed.
22 *
23 * @param bbox the bounding box
24 */
25 public void setBoundingBox(Bounds bbox);
26
27 /**
28 * Replies the currently selected bounding box in this BBoxChooser.
29 * Replies null, if currently there isn't a bbox choosen in this
30 * BBoxChooser.
31 *
32 * @return the currently selected bounding box
33 */
34 public Bounds getBoundingBox();
35}
Note: See TracBrowser for help on using the repository browser.