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.String
BBOX_PROP
A BBoxChooser emitsPropertyChangeEvent
s for this property if the current bounding box changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bounds
getBoundingBox()
Replies the currently selected bounding box in this BBoxChooser.void
setBoundingBox(Bounds bbox)
Sets the current bounding box in this BboxChooser.
-
-
-
Field Detail
-
BBOX_PROP
static final java.lang.String BBOX_PROP
A BBoxChooser emitsPropertyChangeEvent
s for this property if the current bounding box changes.
-
-
Method Detail
-
setBoundingBox
void setBoundingBox(Bounds bbox)
Sets the current bounding box in this BboxChooser. Ifbbox
is 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
-
-