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
static java.lang.String BBOX_PROP
          A BBoxChooser emits ProperyChangeEvents for this property if the current bounding box changes.
 
Method Summary
 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 emits ProperyChangeEvents for this property if the current bounding box changes.

Method Detail

setBoundingBox

void setBoundingBox(Bounds bbox)
Sets the current bounding box in this BboxChooser. If bbox 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 choosen in this BBoxChooser.

Returns:
the currently selected bounding box


JOSM