MapViewport { public boolean isEditable() { return editable.get(); } 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();  }
@Test public void newViewportIsEditableByDefault() { MapViewport vp = new MapViewport(); assertTrue( vp.isEditable() ); }