Last change
on this file since 13265 was 8512, checked in by Don-vip, 9 years ago |
checkstyle: redundant modifiers
|
-
Property svn:eol-style
set to
native
|
File size:
971 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.bbox;
|
---|
3 |
|
---|
4 | import 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 | */
|
---|
11 | public interface BBoxChooser {
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * A BBoxChooser emits {@link java.beans.PropertyChangeEvent}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 | 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 | Bounds getBoundingBox();
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.