@Test public void boundsCtorSetsNullWorldToScreen() { MapViewport vp = new MapViewport(WORLD_1_1); assertNull(vp.getWorldToScreen()); }
public AffineTransform getWorldToScreen() { lock.readLock().lock(); try { return worldToScreen == null ? null : new AffineTransform(worldToScreen); } finally { lock.readLock().unlock(); } }
MapViewport { public AffineTransform getWorldToScreen() { lock.readLock().lock(); try { return worldToScreen == null ? null : new AffineTransform(worldToScreen); } finally { lock.readLock().unlock(); } } }
MapViewport { public AffineTransform getWorldToScreen() { lock.readLock().lock(); try { return worldToScreen == null ? null : new AffineTransform(worldToScreen); } finally { lock.readLock().unlock(); } } MapViewport();  MapViewport(boolean matchAspectRatio);  MapViewport(ReferencedEnvelope bounds);  MapViewport(ReferencedEnvelope bounds, boolean matchAspectRatio);  MapViewport(MapViewport sourceViewport); }
MapViewport { public AffineTransform getWorldToScreen() { lock.readLock().lock(); try { return worldToScreen == null ? null : new AffineTransform(worldToScreen); } finally { lock.readLock().unlock(); } } MapViewport();  MapViewport(boolean matchAspectRatio);  MapViewport(ReferencedEnvelope bounds);  MapViewport(ReferencedEnvelope bounds, boolean matchAspectRatio);  MapViewport(MapViewport sourceViewport); boolean isEditable(); void setEditable(boolean editable); void setMatchingAspectRatio(boolean enabled); boolean isMatchingAspectRatio(); void addMapBoundsListener(MapBoundsListener listener); void removeMapBoundsListener(MapBoundsListener listener); boolean isEmpty(); ReferencedEnvelope getBounds(); void setBounds(ReferencedEnvelope requestedBounds); Rectangle getScreenArea(); void setScreenArea(Rectangle screenArea); CoordinateReferenceSystem getCoordinateReferenceSystem(); void setCoordinateReferenceSystem(CoordinateReferenceSystem crs); AffineTransform getScreenToWorld(); AffineTransform getWorldToScreen(); boolean isFixedBoundsOnResize(); void setFixedBoundsOnResize(boolean fixedBoundsOnResize); }
MapViewport { public AffineTransform getWorldToScreen() { lock.readLock().lock(); try { return worldToScreen == null ? null : new AffineTransform(worldToScreen); } finally { lock.readLock().unlock(); } } MapViewport();  MapViewport(boolean matchAspectRatio);  MapViewport(ReferencedEnvelope bounds);  MapViewport(ReferencedEnvelope bounds, boolean matchAspectRatio);  MapViewport(MapViewport sourceViewport); boolean isEditable(); void setEditable(boolean editable); void setMatchingAspectRatio(boolean enabled); boolean isMatchingAspectRatio(); void addMapBoundsListener(MapBoundsListener listener); void removeMapBoundsListener(MapBoundsListener listener); boolean isEmpty(); ReferencedEnvelope getBounds(); void setBounds(ReferencedEnvelope requestedBounds); Rectangle getScreenArea(); void setScreenArea(Rectangle screenArea); CoordinateReferenceSystem getCoordinateReferenceSystem(); void setCoordinateReferenceSystem(CoordinateReferenceSystem crs); AffineTransform getScreenToWorld(); AffineTransform getWorldToScreen(); boolean isFixedBoundsOnResize(); void setFixedBoundsOnResize(boolean fixedBoundsOnResize);  }