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
FieldsModifier and TypeFieldDescriptionstatic final StringA BBoxChooser emitsPropertyChangeEvents for this property if the current bounding box changes. -
Method Summary
Modifier and TypeMethodDescriptionReplies the currently selected bounding box in this BBoxChooser.voidsetBoundingBox(Bounds bbox) Sets the current bounding box in this BboxChooser.
-
Field Details
-
BBOX_PROP
A BBoxChooser emitsPropertyChangeEvents for this property if the current bounding box changes.
-
-
Method Details
-
setBoundingBox
Sets the current bounding box in this BboxChooser. Ifbboxis null the current bbox in this BBoxChooser is removed.- Parameters:
bbox- the bounding box
-
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
-