Package hec.gfx2d
Interface G2dZoomComponent
- All Known Implementing Classes:
AxisTics,CategoryAxisTics,LogAxisTics,ProbabilityAxisTics,TSAxisTics,Viewport
public interface G2dZoomComponent
This is an interface for any component that wants to get zoom events from the G2dZoomAdapter.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidzoomByFactor(double factor) Defines a new zoom region by a given factorvoidSets the bounds of the new zoom region
-
Method Details
-
getGraphics
Graphics getGraphics() -
zoomByFactor
void zoomByFactor(double factor) Defines a new zoom region by a given factor -
zoomIn
Sets the bounds of the new zoom region- Parameters:
rc- - the rectangle of the new zoom area in local coordinates
-