Package com.bc.ceres.grender
Interface AdjustableView
-
- All Superinterfaces:
ViewportAware
- All Known Implementing Classes:
FigureEditorPanel
,LayerCanvas
public interface AdjustableView extends ViewportAware
JComponent
s implementing this interface are views which can be adjusted using theAdjustableViewScrollPane
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDefaultZoomFactor()
Rectangle2D
getMaxVisibleModelBounds()
double
getMaxZoomFactor()
double
getMinZoomFactor()
-
Methods inherited from interface com.bc.ceres.grender.ViewportAware
getViewport
-
-
-
-
Method Detail
-
getMaxVisibleModelBounds
Rectangle2D getMaxVisibleModelBounds()
- Returns:
- The maximum visible model bounds in model coordinates.
-
getDefaultZoomFactor
double getDefaultZoomFactor()
- Returns:
- The default zoom factor.
- See Also:
Viewport.getZoomFactor()
-
getMinZoomFactor
double getMinZoomFactor()
- Returns:
- The minimum zoom factor.
- See Also:
Viewport.getZoomFactor()
-
getMaxZoomFactor
double getMaxZoomFactor()
- Returns:
- The maximum zoom factor.
- See Also:
Viewport.getZoomFactor()
-
-