Package org.openstreetmap.josm.gui.bbox
Interface BBoxChooser
-
- All Known Implementing Classes:
SlippyMapBBoxChooser,TileSelectionBBoxChooser
public interface BBoxChooser
A BBoxChooser is a component which provides a UI for choosing a bounding box.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBBOX_PROPA BBoxChooser emitsPropertyChangeEvents for this property if the current bounding box changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundsgetBoundingBox()Replies the currently selected bounding box in this BBoxChooser.voidsetBoundingBox(Bounds bbox)Sets the current bounding box in this BboxChooser.
-
-
-
Field Detail
-
BBOX_PROP
static final java.lang.String BBOX_PROP
A BBoxChooser emitsPropertyChangeEvents for this property if the current bounding box changes.
-
-
Method Detail
-
setBoundingBox
void setBoundingBox(Bounds bbox)
Sets the current bounding box in this BboxChooser. Ifbboxis null the current bbox in this BBoxChooser is removed.- Parameters:
bbox- the bounding box
-
getBoundingBox
Bounds getBoundingBox()
Replies the currently selected bounding box in this BBoxChooser. Replies null, if currently there isn't a bbox chosen in this BBoxChooser.- Returns:
- the currently selected bounding box
-
-