Interface ProjectionBoundsProvider
-
public interface ProjectionBoundsProvider
Handles projection change events by keeping a clean state of current bounds.- Since:
- 14120
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bounds
getRealBounds()
Returns the bounds for the current projection.void
restoreOldBounds(Bounds oldBounds)
Restore clean state corresponding to old bounds after a projection change event.
-
-
-
Method Detail
-
getRealBounds
Bounds getRealBounds()
Returns the bounds for the current projection. Used for projection events.- Returns:
- the bounds for the current projection
- See Also:
restoreOldBounds(org.openstreetmap.josm.data.Bounds)
-
restoreOldBounds
void restoreOldBounds(Bounds oldBounds)
Restore clean state corresponding to old bounds after a projection change event.- Parameters:
oldBounds
- bounds previously returned bygetRealBounds()
, before the change of projection- See Also:
getRealBounds()
-
-