Class ZoomHelper
java.lang.Object
com.levigo.jadice.web.client.util.helper.ZoomHelper
Provides some Zoom-Functionality for the PageView.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method zooms to the target zoomFactor.voidzoom(PageView pageView, float zoomRelative, RenderControls renderControls) This method zooms to the current selectedPagevoidZooms to thePageat the given point.
-
Field Details
-
INSTANCE
-
-
Method Details
-
setZoom
This method zooms to the target zoomFactor.- Parameters:
pageView- thePageViewto zoomzoomFactor- the target zoomFactor value
-
zoom
Zooms to thePageat the given point.- Parameters:
pageView- thePageViewzoomRelative- 0:No zoom # -0.1 : zoom 10% out # +0.1 zoom 10% inzoomTo- Point to Zoom tocenter- iftrue, ZoomTo is center(Center the Page here); iffalse, ZoomTo is MousePos(keepMousePos)
-